Skip to content

Commit

Permalink
Merge pull request Nozbe#235 from cesargdm/patch-2
Browse files Browse the repository at this point in the history
Update AdvancedFields.md
  • Loading branch information
radex committed Feb 7, 2019
2 parents 155ec3d + 850cc3e commit 7f2acce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Advanced/AdvancedFields.md
Expand Up @@ -5,7 +5,7 @@
You can use `@text` instead of `@field` to enable user text sanitization. When setting a new value on a `@text` field, excess whitespace will be trimmed from both ends from the string.

```js
import { date } from '@nozbe/watermelondb/decorators'
import { text } from '@nozbe/watermelondb/decorators'

class Post extends Model {
// ...
Expand Down

0 comments on commit 7f2acce

Please sign in to comment.