sqlc_gen_dart 1.0.0 copy "sqlc_gen_dart: ^1.0.0" to clipboard
sqlc_gen_dart: ^1.0.0 copied to clipboard

A plugin for SQLC that generates Dart code from SQL queries.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0 - 2025-12-02 #

Added #

  • Initial release of sqlc_gen_dart plugin
  • Support for generating Dart code from SQL queries
  • SQLite database support with in-memory and file-based configurations
  • PostgreSQL database support with URI-based and connection object configurations
  • Automatic schema generation from SQL DDL statements
  • Type-safe query methods generation
  • CRUD operations support (Create, Read, Update, Delete)
  • Custom SqlcException for unified error handling
  • Automatic database connection management
  • Support for multiple query types (:one, :many, :exec)
  • Pluralization support for table names
  • MIT License

Features #

  • Database Support: SQLite and PostgreSQL
  • Query Generation: Generates type-safe Dart methods from SQL queries
  • Schema Generation: Automatically generates Dart classes from SQL tables
  • Error Handling: Custom exception handling with SqlcException
  • Connection Management: Automatic database connection and disposal
0
likes
150
points
75
downloads

Publisher

verified publishertiagualvs.com

Weekly Downloads

A plugin for SQLC that generates Dart code from SQL queries.

Repository (GitHub)
View/report issues

Topics

#orm #sql #database #sqlite #postgresql

Documentation

API reference

License

MIT (license)

Dependencies

pluralize, strings

More

Packages that depend on sqlc_gen_dart