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:
Nikhil-Doye
2025-10-23 14:47:45 -04:00
parent cf6813f6d5
commit b4bb7608fb
2 changed files with 2 additions and 2 deletions
@@ -141,7 +141,7 @@ export class UnifiedDatabaseService {
whereClause: config.whereClause,
whereCondition: config.whereCondition,
whereParameters: config.whereParameters,
limit: config.limit,
limit: config.updateLimit,
};
case "delete":
+1 -1
View File
@@ -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;