Thin MongoDB ODM built for Standard Schema
mongodb
zod
deno
1/**
2 * Client module - MongoDB connection and session management
3 *
4 * This module provides all client-level functionality including:
5 * - Connection management (connect, disconnect)
6 * - Health monitoring (healthCheck)
7 * - Transaction support (startSession, endSession, withTransaction)
8 */
9
10// Re-export connection management
11export {
12 connect,
13 disconnect,
14 getDb,
15 type ConnectOptions,
16 type Connection,
17} from "./connection.ts";
18
19// Re-export health monitoring
20export {
21 healthCheck,
22 type HealthCheckResult,
23} from "./health.ts";
24
25// Re-export transaction management
26export {
27 startSession,
28 endSession,
29 withTransaction,
30} from "./transactions.ts";