It would be nice if something like this would be supported: ``` set foo = 1; set bar = 2; set baz = 3; create table test ( f integer not null ); insert into test ( f ) values ( foo ), ( bar ), ( baz ); ``` Syntax to be discussed.
Activity
ygrek commentedon May 22, 2020
setis sql keyword. I understand you want these constants to be replaced by sqlgg at compile-time?cyberhuman commentedon May 22, 2020
Yes I understand this. The above was just an example.
It could be
const foo = <value>or even an annotation-- @@const foo = <value>etc.Yes, that's the idea.
What do you think?