Điểm vào
Điểm truy cập công khai để bắt đầu execution context và Query, Search, Vector Search, root aggregation trong Reactive Mongo DSL 1.0.0.
Tạo ReactiveMongoDsl.
MongoTemplateResolver<K>#getTemplate(K)
Trả về MongoExecutionContext tương ứng với key.
getMongoTemplate(K).
Tra cứu MongoExecutionContext hiện tại qua resolver với key.
getTxJob(K, Supplier<Mono<...>>)
Thực hiện giao dịch DSL dựa trên ClientSession.
Execution builders.
executeEntity(Class<E>, K)
Chọn collection/mapping context bằng entity class và resolver key.
executeCustomClass(Class<E>, K, String)
Chỉ định trực tiếp loại kết quả và tên collection vật lý.
Điểm truy cập Builder.
fields(...) / fields().
Cấu hình điều kiện Mongo thông thường bằng FieldsPair và nhóm logic.
driverFilter(Bson).
Truyền trực tiếp filter của MongoDB Driver thành điều kiện truy vấn thông thường.
search([index]).
Bắt đầu builder dành riêng cho Atlas Search.
tìm-kiếm-vector(index)
Bắt đầu builder dành riêng cho Vector Search.
aggregation()
Bắt đầu root aggregation cấu hình từ stage đầu tiên của pipeline bằng Driver-native Bson.
Operation có thể thực hiện mà không cần builder điều kiện.
save(E) / saveAll(...).
Áp dụng insert/replace theo đơn vị entity và hook vòng đời save.
saveAllBulk(...).
Bulk insert dựa trên insertMany.
saveAllBulkUpsert(...).
Bulk upsert không theo thứ tự dựa trên id entity.
saveAllBulkUpsertByKey(...).
Bulk upsert không theo thứ tự dựa trên khóa phức hợp công việc.
delete(entity[, backup]) / deleteBulk(...).
entity 삭제와 optional <collection>_remove 백업
createHistory(entity[, prefix]).
Lưu snapshot tài liệu hiện tại vào collection history riêng.