static_orm_generator 0.0.2-dev copy "static_orm_generator: ^0.0.2-dev" to clipboard
static_orm_generator: ^0.0.2-dev copied to clipboard

outdated

A generator of static_orm. This package allow to automate your work and simplify your CRUD operation. The class generate for this generator allow you to perfor inserts, updates, selects and delets operations.

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);
}

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');
}

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);
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
0
points
85
downloads

Publisher

unverified uploader

Weekly Downloads

A generator of static_orm. This package allow to automate your work and simplify your CRUD operation. The class generate for this generator allow you to perfor inserts, updates, selects and delets operations.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

data_db, file_utils, static_postgres_orm

More

Packages that depend on static_orm_generator