static_orm_generator library
Package for automate your work.
For more informartion go here: https://github.com/andriwsluna/static_orm_generator#readme
Functions
-
generatePgOrm(
PostgreSQLConnection connection, {String? path, String? subPath, bool schemaInName = true, String? tableName}) → Future< bool> - Looad a connection to Postgres Database and automatically generates ORM for all tables of target database
-
getSchema(
Map< String, DataField> record) → String -
getTableNameFromRecord(
Map< String, DataField> record) → String