UNPKG

@datastax/astra-mongoose

Version:

Astra's NodeJS Mongoose compatibility client

16 lines (15 loc) 570 B
export { Connection } from './connection'; export { Collection } from './collection'; export { Vectorize, VectorizeOptions } from './vectorize'; import { Connection } from './connection'; import { Mongoose } from 'mongoose'; import { handleVectorFieldsProjection } from './plugins'; export declare const plugins: (typeof handleVectorFieldsProjection)[]; import { Vectorize } from './vectorize'; export declare const SchemaTypes: { Vectorize: typeof Vectorize; }; export type AstraMongoose = Mongoose & { connection: Connection; connections: Connection[]; };