MongoDB
Use MongoDB commands with JdbcTemplate and Mappers. The builder API also supports basic document operations. See JDBC MongoDB for connections.
Using dbVisitor
- Programmatic API: queries, writes, multiple results, and stored routine differences.
- Mapper API: annotations, Mapper reads and writes, and execution differences.
- Builder API: Supported operations, datasource-specific behavior, and usage.
- Query Operations: Execute queries, combine filters, and map results.
- Data Writes: Insert, update, delete, and handle write results.
- Pagination: Fetch a range and obtain totals.
- Vector Operations: Field mapping, search metrics, and supported queries.
- Key Generation: Assign identifiers or read generated IDs.
- Parameters and Rules: Bind values and select native command fragments.
- Type Support: Choose Java types for stored values.
- Reading Results: Read result columns and map returned values.
- Transaction Support: Transaction API behavior and isolation-level settings.
Command Basics
Command Format and Parameters · Hint Support
Query Commands
Document Queries · Count and Distinct · Aggregation Pipelines
Write Commands
Insert Documents · Update and Replace · Delete Documents · Bulk Write
Management Commands
Collections and Views · Database Management · Index Management
User Management · USE and SHOW · Database Commands