Type aliases
MongoConnector
Mongo
Connector<TDocument>: Connector<TDocument, Filter<TDocument>, Pick<QueryOptions, "skip" | "limit">, Collection<TDocument>>
Type parameters
MongooseConnector
Mongoose
Connector<TModel>: Connector<TModel, FilterQuery<TModel>, QueryOptions, mongoose.Model<any, any>>
Type parameters
Functions
Const createMongoConnector
-
Type parameters
Parameters
-
model: VulcanModel<VulcanSchema<AnyObject>>
-
Const createMongooseConnector
-
Type parameters
Parameters
-
model: VulcanModel<VulcanSchema<AnyObject>>
-
Const filterFunction
- filterFunction(model: VulcanModel<VulcanSchema<AnyObject>>, input: FilterableInput<any>, context?: any): Promise<FilterFunctionOutput>
-
Parameters
-
model: VulcanModel<VulcanSchema<AnyObject>>
-
-
Optional context: any
Returns Promise<FilterFunctionOutput>
Will be deprecated @see https://github.com/VulcanJS/vulcan-npm/pull/129