Skip to content
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

Null constraint not throws #32

Open
gfZeng opened this issue Jan 10, 2019 · 0 comments
Open

Null constraint not throws #32

gfZeng opened this issue Jan 10, 2019 · 0 comments
Assignees

Comments

@gfZeng
Copy link

gfZeng commented Jan 10, 2019

create table t (id int not null);
(<!! (db/execute db ["insert into t (id) values ($1);" 9]))  ;; => {:updated 1 :rows []}
(<!! (db/execute db ["insert into t (id) values ($1);" nil])) ;; => {:updated 0 :rows []} instead of an error

platform:
PostgreSQL 11 + Java 8 + clojure 1.10

@alaisi alaisi self-assigned this Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants