PropertiesToPrismaOptions: {
    databaseProvider?: "sqlite" | "postgresql" | "mysql" | "mongodb";
    listRepresentation?: "childTable" | "scalarList";
    reverseMap: Record<string, string>;
}

Type declaration

  • OptionaldatabaseProvider?: "sqlite" | "postgresql" | "mysql" | "mongodb"
  • OptionallistRepresentation?: "childTable" | "scalarList"

    Force representation for primitive arrays. Default: childTable for SQL, scalarList for Mongo. Postgres may override to scalarList when preferred.

  • reverseMap: Record<string, string>