bulk ¶
Bulk operations for database controllers.
Classes:
-
BulkOperationsController–Handles bulk create, update, and delete operations.
Classes¶
BulkOperationsController ¶
Python
BulkOperationsController(model: type[ModelT], db: DatabaseService)
Handles bulk create, update, and delete operations.
Initialize the bulk operations controller.
Parameters:
-
model(type[ModelT]) –The SQLModel to perform bulk operations on.
-
db(DatabaseService) –The database service instance.
Returned by:
-
afk ClassesAfkController Functions_get_bulk -
base ClassesBaseController Functions_get_bulk -
base_controller ClassesBaseController Functions_get_bulk -
case ClassesCaseController Functions_get_bulk -
controllers Classes-
AfkController Functions_get_bulk -
BaseController Functions_get_bulk -
CaseController Functions_get_bulk -
GuildConfigController Functions_get_bulk -
GuildController Functions_get_bulk -
LevelsController Functions_get_bulk -
PermissionAssignmentController Functions_get_bulk -
PermissionCommandController Functions_get_bulk -
PermissionRankController Functions_get_bulk -
ReminderController Functions_get_bulk -
SnippetController Functions_get_bulk -
StarboardController Functions_get_bulk -
StarboardMessageController Functions_get_bulk
-
-
guild ClassesGuildController Functions_get_bulk -
guild_config ClassesGuildConfigController Functions_get_bulk -
levels ClassesLevelsController Functions_get_bulk -
permissions Classes -
reminder ClassesReminderController Functions_get_bulk -
snippet ClassesSnippetController Functions_get_bulk -
starboard Classes
Methods:
-
bulk_create–Create multiple records in bulk.
-
bulk_update–Update multiple records in bulk.
-
bulk_delete–Delete multiple records in bulk.
-
update_where–Update records matching filters.
-
delete_where–Delete records matching filters.
-
bulk_upsert_with_conflict_resolution–Bulk upsert with conflict resolution.