dsql 0.0.8+5 copy "dsql: ^0.0.8+5" to clipboard
dsql: ^0.0.8+5 copied to clipboard

outdated

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();
// }
4
likes
0
points
12
downloads

Publisher

unverified uploader

Weekly Downloads

Dart SQL library for generating .dart files from .sql files

Homepage

License

unknown (license)

Dependencies

args, path, postgres

More

Packages that depend on dsql