Skip to content

Null constraint not throws #32

@spagreeks

Description

@spagreeks
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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions