dsql 0.0.8+5
dsql: ^0.0.8+5 copied to clipboard
Dart SQL library for generating .dart files from .sql files
example/example.dart
// import 'lib/generated/dsql.dart';
// void main() async {
// final dsql = DSQL(postgresURL: 'postgres://postgres:postgres@localhost:5432/dsql');
// await dsql.init();
// // Returns a UserEntity
// final user = await dsql.user.create(
// name: 'name',
// email: 'email',
// password: 'password',
// );
// final users = await dsql.user.findMany();
// }