Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Commit e08cbbf

Browse files
authored
docs: Corrects links.
1 parent 54998a2 commit e08cbbf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/utils.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
This package contains some common utility functions that can be used by both users and implementors of the [Facade](./facade.md#facade).
44

5-
- [convertPropertyFilter](#convertPropertyFilter)
6-
- [createCursorFromEntity](#createCursorFromEntity)
7-
- [createPaginationFilter](#createPaginationFilter)
5+
- [convertPropertyFilter](#convertpropertyfilter)
6+
- [createCursorFromEntity](#createcursorfromentity)
7+
- [createPaginationFilter](#createpaginationfilter)
88

99
### convertPropertyFilter
1010
Converts the filter value for a certain property name. For example, if you have a date property on your entity called `createdAt` storing the date at which an entity was created, then if you filter the property using a string (usually via [js-entity-repos/express](https://github.com/js-entity-repos/express)), you can use this util to ensure that the string is converted to a date before using the filter in the database. This is usually used by users of the js-entity-repos inside a `constructFilter` function in the factory config of [concrete implementations of the Facade](./facade.md#facade), the [Knex implementation allows this configuration function](https://github.com/js-entity-repos/knex#construct-the-facade) amongst others.

0 commit comments

Comments
 (0)