Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Current State of SQLite Support #1392

Unanswered
PadraigK asked this question in Q&A
Discussion options

Thanks for all your work on this project! It's exactly what I was looking for.

I've followed the comments in #161 and I've seen SQLite support referred to elsewhere as "experimental". So my understanding is that it kinda works, but isn't all there.

Is sqlc usable with SQLite as is, with some minor missing details, or is it fully not a good idea to do that right now?

You must be logged in to vote

Replies: 1 comment

Comment options

I just saw your message while looking to see if anyone else is using this for sqlite. (削除) If you haven't tried it, yet, it doesn't seem to be working (削除ここまで). After getting everything set up, the generate gives me a "duplicate query name" error on the first query in my file every time...no matter what I change it to. I ran through the quick tutorial, and it looks promising once sqlite support gets out of beta.
Edit:
It seems that you have to group all of the queries for a given table together in the query file in order for it to parse correctly.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /