SQLite support as database #389
Replies: 5 comments 3 replies
-
@dosco Any plans, ideas? |
Beta Was this translation helpful? Give feedback.
-
+1 for this- there some projects in the sqlite space for replication/backup (Litestream & litefs) that make Graphjin a great fit for this |
Beta Was this translation helpful? Give feedback.
-
I had looked into Sqlite a while ago. I want to support it (without having to enable CGO) maybe have seperate SQlite build or via some socket interface (not sure if that exists). The big issue I can see is that it does not support CROSS JOINS LATERAL which is needed. I'll take another look. |
Beta Was this translation helpful? Give feedback.
-
Firstly only focus on queries (for a quick win) and ignore mutations. Secondly model your changes on what I did to add MySQL support. By default all sql generated is as close to the sql standard and postgres compatible which means that you have to only database specific support in places where MySQL or Sqlite has deviated from the standard. This is not too hard just search for Feel free to reach out anytime on here or the discord happy to do a zoom and walk you though anything you need.
|
Beta Was this translation helpful? Give feedback.
-
did this go anywhere? |
Beta Was this translation helpful? Give feedback.
-
SQLite is appropriate for certain use cases which eliminate the disadvantages of traditional database architectures. There is Pocketbase but it uses REST and maintainer seems to have no intention of supporting GraphQL, so no fine-grained data access / mutations.
Beta Was this translation helpful? Give feedback.
All reactions