A utility function to generate resolver for you. Works with any SQL-like query language.
Returns resolvers to be plugged into @pdftron/collab-server
The type of database you are using
Information about your database schema. See this guide for more info.
Information about connecting to your database. Accepts anything that Knex accepts for connection options
A function to convert a unix timestamp to the format that your database used. Accepts a number as a parameter and must return a timestamp in your DB format. See this guide for more info
A function to convert your database timestamps into a unix timestamp in MS. Accepts the timestamp from your database and must return an integer. See this guide for more info
Information about database connection pooling. Accepts anything that Knex accepts
Log level. See this guide for more info.
Log transports. See this guide for more info.
Filter logs by tag. See this guide for more info.
The version of database you are using. This typically is not required
Generated using TypeDoc
Constants representing the types of mutations being made to the database. For use in middleware.