@andrejs1979/document
Version:
MongoDB-compatible document database for NoSQL
56 lines • 1.79 kB
TypeScript
/**
* NoSQL - Document Module Examples
* Comprehensive examples demonstrating MongoDB-compatible operations
*/
interface CloudflareBindings {
DB: any;
KV: any;
BUCKET: any;
}
/**
* Basic CRUD Operations Example
*/
export declare function basicCrudExample(env: CloudflareBindings): Promise<void>;
/**
* Advanced Querying Example
*/
export declare function advancedQueryingExample(env: CloudflareBindings): Promise<void>;
/**
* Hybrid Search Example
*/
export declare function hybridSearchExample(env: CloudflareBindings): Promise<void>;
/**
* Relationship Management Example
*/
export declare function relationshipExample(env: CloudflareBindings): Promise<void>;
/**
* Bulk Operations Example
*/
export declare function bulkOperationsExample(env: CloudflareBindings): Promise<void>;
/**
* Indexing and Performance Example
*/
export declare function indexingExample(env: CloudflareBindings): Promise<void>;
/**
* Tagging and Metadata Example
*/
export declare function taggingExample(env: CloudflareBindings): Promise<void>;
/**
* Real-world Application Example
*/
export declare function realWorldExample(env: CloudflareBindings): Promise<void>;
export declare const examples: {
basicCrudExample: typeof basicCrudExample;
advancedQueryingExample: typeof advancedQueryingExample;
hybridSearchExample: typeof hybridSearchExample;
relationshipExample: typeof relationshipExample;
bulkOperationsExample: typeof bulkOperationsExample;
indexingExample: typeof indexingExample;
taggingExample: typeof taggingExample;
realWorldExample: typeof realWorldExample;
};
declare const _default: {
fetch(request: Request, env: CloudflareBindings): Promise<Response>;
};
export default _default;
//# sourceMappingURL=basic-usage.d.ts.map