Version: 0.16.x

createMongoDbProvider

Index#

Functions#

Functions#

createMongoDbProvider#

createMongoDbProvider(db: Db): function

Defined in createMongoDbProvider.ts:10

Creates a new KnexDBDataProvider

Parameters:

NameTypeDescription
dbDbMongoDb connection

Returns: function

▸ (...args: any[]): GraphbackDataProvider

Parameters:

NameType
...argsany[]