generateSource function

String generateSource(
  1. List<Table> tables, {
  2. Map<String, String>? imports,
  3. bool targetCockroachDB = false,
})

Implementation

String generateSource(
  List<Table> tables, {
  Map<String, String>? imports,
  bool targetCockroachDB = false,
}) {
  return _Codegen(tables, imports, targetCockroachDB).generate();
}