DbRelation.hasMany constructor

DbRelation.hasMany(
  1. String name, {
  2. required String table,
  3. required String foreignKey,
})

Implementation

factory DbRelation.hasMany(
  String name, {
  required String table,
  required String foreignKey,
}) => DbRelation(
  kind: RelationKind.hasMany,
  name: name,
  table: table,
  foreignKey: foreignKey,
);