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 type Connection,
14 type ConnectOptions,
15 disconnect,
16 getDb,
17} from "./connection.ts";
18
19// Re-export health monitoring
20export { healthCheck, type HealthCheckResult } from "./health.ts";
21
22// Re-export transaction management
23export { endSession, startSession, withTransaction } from "./transactions.ts";