buildForeignKeyToQuery static method

Map<String, String> buildForeignKeyToQuery({
  1. dynamic nameTable,
  2. dynamic nameColumn,
  3. dynamic nameTableTarget,
  4. dynamic nameColumnTarget,
  5. dynamic delete,
  6. dynamic update,
})

Implementation

static Map<String, String> buildForeignKeyToQuery({nameTable, nameColumn, nameTableTarget, nameColumnTarget, delete, update}) {
  return {
    'name_table': nameTable,
    'name_column': nameColumn,
    'name_table_target': nameTableTarget,
    'name_column_target': nameColumnTarget,
    'on_delete': delete,
    'on_update': update,
  };
}