@datastax/astra-mongoose
Version:
Astra's NodeJS Mongoose compatibility client
16 lines (15 loc) • 598 B
TypeScript
export { Connection } from './connection';
export { Collection, OperationNotSupportedError } 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[];
};