Mechanoid doesn't seem to have support for check constraint on table columns am i correct ?
example:
create table User (
id integer primary key,
FirstName text,
Birthdate integer not null,
CreationDate integer default current_time not null,
Gender text not null check (Gender = 'Male' or Gender='Female')
);
if i am correct it would be nice to provide proper dsl support for and code for supporting it
Yes you are right, it should be fairly simple to add support for this, and should only require DSL support unless you had something in mind for code gen also to compliment it?
Mechanoid doesn't seem to have support for check constraint on table columns am i correct ?
example: create table User ( id integer primary key, FirstName text, Birthdate integer not null, CreationDate integer default current_time not null, Gender text not null check (Gender = 'Male' or Gender='Female') );
if i am correct it would be nice to provide proper dsl support for and code for supporting it