You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just want to generate types from my sql create script. But so far I only managed to generate an unusably named type, when I tried to query all entities of a table from the create script.
I tried setting mode for the sql file to sql, but then it didn't recognize the sql syntax at all and started yelling about syntax errors for everything in sql. But using the sql file with mode ts worked (kinda - it reported no queries, instead of using the create commands to generate types) - rather the opposite behaviour than I would expect.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I just want to generate types from my sql create script. But so far I only managed to generate an unusably named type, when I tried to query all entities of a table from the create script.
I tried setting mode for the sql file to
sql
, but then it didn't recognize the sql syntax at all and started yelling about syntax errors for everything in sql. But using the sql file with modets
worked (kinda - it reported no queries, instead of using the create commands to generate types) - rather the opposite behaviour than I would expect.Beta Was this translation helpful? Give feedback.
All reactions