mirror of
https://github.com/Nikhil-Doye/workflow-builder.git
synced 2026-07-22 02:01:56 +02:00
Update UnifiedDatabaseService to use updateLimit instead of limit in DatabaseConfig
- Changed the property name from 'limit' to 'updateLimit' in the DatabaseConfig interface for better clarity on its purpose. - Updated the UnifiedDatabaseService to reflect this change, ensuring consistency across database operations.
This commit is contained in:
@@ -141,7 +141,7 @@ export class UnifiedDatabaseService {
|
||||
whereClause: config.whereClause,
|
||||
whereCondition: config.whereCondition,
|
||||
whereParameters: config.whereParameters,
|
||||
limit: config.limit,
|
||||
limit: config.updateLimit,
|
||||
};
|
||||
|
||||
case "delete":
|
||||
|
||||
@@ -30,7 +30,7 @@ export interface DatabaseConfig {
|
||||
whereClause?: Record<string, any>;
|
||||
whereCondition?: string;
|
||||
whereParameters?: Record<string, any>;
|
||||
limit?: number;
|
||||
updateLimit?: number;
|
||||
|
||||
// Delete operation
|
||||
deleteTable?: string;
|
||||
|
||||
Reference in New Issue
Block a user