@@ -383,6 +383,33 @@ export const DriverInterfaceSchema = z.object({
383383 . args ( z . string ( ) , z . array ( z . string ( ) . or ( z . number ( ) ) ) , DriverOptionsSchema . optional ( ) )
384384 . returns ( z . promise ( z . void ( ) ) ) ,
385385
386+ /**
387+ * Update multiple records matching a query.
388+ * Direct database push-down. DOES NOT trigger per-record hooks.
389+ *
390+ * @param object - The object name.
391+ * @param query - The filtering criteria.
392+ * @param data - The data to update.
393+ * @returns Count of modified records.
394+ */
395+ updateMany : z . function ( )
396+ . args ( z . string ( ) , QuerySchema , z . record ( z . any ( ) ) , DriverOptionsSchema . optional ( ) )
397+ . returns ( z . promise ( z . number ( ) ) )
398+ . optional ( ) ,
399+
400+ /**
401+ * Delete multiple records matching a query.
402+ * Direct database push-down. DOES NOT trigger per-record hooks.
403+ *
404+ * @param object - The object name.
405+ * @param query - The filtering criteria.
406+ * @returns Count of deleted records.
407+ */
408+ deleteMany : z . function ( )
409+ . args ( z . string ( ) , QuerySchema , DriverOptionsSchema . optional ( ) )
410+ . returns ( z . promise ( z . number ( ) ) )
411+ . optional ( ) ,
412+
386413 // ============================================================================
387414 // Transaction Management
388415 // ============================================================================
0 commit comments