setTriggerSetting method

  1. @override
String setTriggerSetting(
  1. QualifiedTablename table,
  2. int value
)
override

Modifies the trigger setting for the table identified by its tablename and namespace.

Implementation

@override
String setTriggerSetting(QualifiedTablename table, int value) {
  return "INSERT OR IGNORE INTO _electric_trigger_settings (namespace, tablename, flag) VALUES ('${table.namespace}', '${table.tablename}', $value);";
}