Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sky0621/kreu-crud-for-sqlc

This is a tool that reads SQL files for sqlc and creates CRUD tables.
https://github.com/sky0621/kreu-crud-for-sqlc

Last synced: about 1 month ago
JSON representation

This is a tool that reads SQL files for sqlc and creates CRUD tables.

Awesome Lists containing this project

README

        

# kreu-crud-for-sqlc

This is a tool that reads SQL files for [sqlc](https://sqlc.dev/) and creates CRUD tables.

However, it is unfinished.

## What you need to use

- Install [docker](https://www.docker.com/)
- Environment in which make command can be used

## How does it work?

1. build

```
make build
```

2. prepare sql files

like [this](./testdata)

3. run

※ `xxxx` is the directory where your SQL files are located.

```
make run DIR=/xxxx
```

After execution, a [CRUD.xlsx](./testdata/CRUD.xlsx) file is created under xxxx.
![crud](./pic/crud.png)