Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit f48b997

Browse files
author
Dekel Barzilay
committed
Added the new schema service option & params operator to the docs
1 parent d2d5614 commit f48b997

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,24 +91,24 @@ module.exports = function(app) {
9191

9292
### Service Options
9393

94-
- `model` (**required**) - The Objection model definition
94+
- `model` (**required**) - The Objection model definition.
9595

9696
- `id` (_optional_, default: `model.idColumn` or `'id'`) - The name of the id field property. Use
97-
array of strings for composite primary keys
97+
array of strings for composite primary keys.
9898

9999
- `events` (_optional_) - List of
100100
[custom service events](https://docs.feathersjs.com/api/events.html#custom-events)
101-
sent by this service
101+
sent by this service.
102102

103103
- `paginate` (_optional_) - [Pagination object](https://docs.feathersjs.com/api/databases/common.html#pagination)
104-
containing a `default` and `max` page size
104+
containing a `default` and `max` page size.
105105

106106
- `multi` (_optional_) - Allow `create` with arrays and `update` and `remove`
107107
with `id` `null` to change multiple items. Can be `true` for all methods or an
108-
array of allowed methods (e.g. `[ 'remove', 'create' ]`)
108+
array of allowed methods (e.g. `[ 'remove', 'create' ]`).
109109

110110
- `whitelist` (_optional_) - List of additional query operators to allow (e.g.
111-
`[ '$eager', '$joinRelation' ]`)
111+
`[ '$eager', '$joinRelation' ]`).
112112

113113
- `schema` (_optional_) - Database schema to use with all the service queries (e.g.
114114
`public`). See [`withSchema`](https://vincit.github.io/objection.js/api/query-builder/find-methods.html#withschema) documentation.

0 commit comments

Comments
 (0)