removeInsert method

Sqler removeInsert(
  1. Map<String, dynamic> insert
)

Removes a specific INSERT value set from the query.

insert The INSERT value map to remove. Returns this to enable method chaining.

Example:

query.removeInsert({'name': QVar('John'), 'email': QVar('john@example.com')}); // Removes this INSERT value set

Implementation

Sqler removeInsert(Map<String, dynamic> insert) {
  _insert.removeWhere((e) => e == insert);
  return this;
}