feat : add max size parameter for string and truncate output
Open
- Dominant language
- Go
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
## Problem
Column definition in database have a max size definition. Trying to insert a bigger value with `lino push` failed.
## Proposal
Define a template with max size parameter that truncate string longer than max size definition.
```console
$ jl -t '{"name": "string(4)"}' <
Contributor guide
Assessment
This issue has not been assessed yet.