Can a CHECK constraint take sql builders (eq, lt, isNull)?
The types say these output
SQL | undefined
, while the check takes in SQL
, so there is a type mismatch.
The docs use
Is this intended that you must use the sql
syntax?0 Replies