Skip to content

Commit

Permalink
Implemented: add documentation to ving schema about filterQuery #87
Browse files Browse the repository at this point in the history
  • Loading branch information
rizen committed Apr 10, 2024
1 parent 7a1fef9 commit 4466629
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/change-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ outline: deep

## 2024-04-10
* Implemented: filterQualifier: true should be in the examples for all relation ids #96
* Implemented: add documentation to ving schema about filterQuery #87

## 2024-04-09
* Fixed: no type int example in ving schema #82
Expand Down
13 changes: 13 additions & 0 deletions docs/subsystems/ving-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,19 @@ The `length` field is required when the prop is of type `string`, `enum`, and `i

The `unique` field is an optional boolean. When set to `true` a unique index will be created on this prop in the database, and the record will test that the data being set to the prop is unqiue.

##### filterQuery

An optional boolean that if true will allow searching via the [rest api](rest) for keyword matches against this field. This is an alternative to overriding the `describeListFilter()` method in [VingRecord](ving-record).

##### filterQualifier

An optional boolean that if true will allow searching via the [rest api](rest) for exact match filtering against this field. This is an alternative to overriding the `describeListFilter()` method in [VingRecord](ving-record).

##### filterRange

An optional boolean that if true will allow searching via the [rest api](rest) for range matching against this field. This is an alternative to overriding the `describeListFilter()` method in [VingRecord](ving-record).


##### autoUpdate

The `autoUpdate` field is an optional boolean that is only used on a prop with type `date`. If `true` the date will automatically get set every time `update()` is called on the record. This is generally never needed by anything other than the built in `dateUpdated` record that every record already has.
Expand Down

0 comments on commit 4466629

Please sign in to comment.