static_orm_generator

Creator: coderz1093

Last updated:

0 purchases

static_orm_generator Image
static_orm_generator Images

Languages

Categories

Add to Cart

Description:

static orm generator

A library to generate static_orm automatically.
Usage #
A simple usage example:
import 'package:static_orm_generator/static_orm_generator.dart';
import 'package:static_postgres_orm/static_postgres_orm.dart';

void main() {
var connection = PostgreSQLConnection('localhost', 5432, 'db_teste',
username: 'postgres', password: '1234');
generate_pg_orm(connection);
}
copied to clipboard
Define a path to generated files
import 'package:static_orm_generator/static_orm_generator.dart';
import 'package:static_postgres_orm/static_postgres_orm.dart';

void main() {
var connection = PostgreSQLConnection('localhost', 5432, 'db_teste',
username: 'postgres', password: '1234');
generate_pg_orm(connection, path: 'orm');
}
copied to clipboard
Omiting schema name in FileNames and ClassNames
import 'package:static_orm_generator/static_orm_generator.dart';
import 'package:static_postgres_orm/static_postgres_orm.dart';

void main() {
var connection = PostgreSQLConnection('localhost', 5432, 'db_teste',
username: 'postgres', password: '1234');
generate_pg_orm(connection, schemaInName: false);
}
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.