Update field.md

This commit is contained in:
Pearl C 2023-02-05 12:34:08 +08:00 committed by GitHub
parent a37a2e75fb
commit f80a138a07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ Extended field is implemented mainly by inheriting the `Field` abstract class an
| `context.database` | `Database` | - | Database instance | | `context.database` | `Database` | - | Database instance |
| `context.collection` | `Collection` | - | Data table instance | | `context.collection` | `Collection` | - | Data table instance |
## Instance Member ## Instance Members
### `name` ### `name`
@ -49,7 +49,7 @@ Configuration parameters to initialize the field.
Field context object. Field context object.
## Configuration Method ## Configuration Methods
### `on()` ### `on()`
@ -168,7 +168,7 @@ books.getField('isbn').remove();
await books.sync(); await books.sync();
``` ```
## Database Method ## Database Methods
### `removeFromDb()` ### `removeFromDb()`