Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Data validation #546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tobiges opened this issue Jun 12, 2020 · 1 comment
Closed

Data validation #546

tobiges opened this issue Jun 12, 2020 · 1 comment
Labels
question Further information is requested

Comments

@tobiges
Copy link

tobiges commented Jun 12, 2020

Is there any way to implement data validation with sqlc?

@kyleconroy kyleconroy added the question Further information is requested label Jun 18, 2020
@kyleconroy
Copy link
Collaborator

The suggested way to implement data validation when using sqlc is to take advantage of database constraints. The PostgreSQL documentation covers the topic extensively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants