mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-03 12:47:44 +08:00
Update field.md
This commit is contained in:
parent
a37a2e75fb
commit
f80a138a07
@ -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()`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user