crafting-table
crafting-table copied to clipboard
SQL database repository code generator based on model
logo by: Midjourney
Crafting Table
A crafting-table is third-party for creating database functions of repository layer.
It uses sqlx
package to connect to database and querying to database.
Installation
You can install Crafting-Table
package by using this command:
go install github.com/snapp-incubator/crafting-table@latest
How to use Crafting Table?
The command for creating functions is as below:
crafting-table manifest apply <manifest-file-path>
Manifest File
The manifest file is a yaml file that contains the information about the functions that you want to create.
You can find more details about the manifest file in here.
Query Builder Generator
Query builder generator will generate a fully featured query builder based on your code base. You can find more details about Query Builder Generator
in here
Help Us
You can contribute to improving this tool by sending pull requests or issues on GitHub.
Please send us your feedback. Thanks!