Skip to content

how to select record fields that start with capital? #167

Answered by EvgSkv
wowJasonCorderoy asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,
if your table has uppercase-named columns then we need to store the value of the column in an intermediate variable like so

@Engine("sqlite");
@With(T);
T(colA: "value A", ColB: "value B");
Q(colA: x, ColB: y) :- T(colA: x, ColB: y);

Let me know if you have further questions!

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@wowJasonCorderoy
Comment options

@wowJasonCorderoy
Comment options

@EvgSkv
Comment options

Answer selected by wowJasonCorderoy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants