Hey guys, I’m sure some people already asked this ...
# orm-help
t
Hey guys, I’m sure some people already asked this before, but is there any reason why SQL / SQLLite is not on the future plans (if it isn’t)? Is DataLoader the best solution for that?
l
t
so it means it’s on the roadmap?
h
SQL itself is definitely there lol
the 2 dbs supported right now are mysql and postgresql
t
yes I know but I have a working project that uses sql lite and I was wondering if Prisma was an option any time soon or either use DataLoader or anything else
l
You may be getting terms a little crossed. Dataloader is a pattern to aggregate queries across nested nodes to avoid N+1 queries. (Basically collects all ids and sends a
...where in [ids]
query
h
he's asking if he should just use dataloader instead of waiting for prisma
t
exactly
I know DataLoader is for query batching, and I still need the sqllite connector, but I wanted to know if I should use that if Prisma didn’t have any solution on the roadmap, or if anyone used something else, like join-monster (also for batching)
l
Datalaoder + a database does not equal Prisma. I don’t get it. So I’m out. 😊
t
nobody is saying that @lawjolla. But using DataLoader/join-monster + DB seems to be the best option to avoid running on the round trip problem. Prisma not only solves that, also gives you a GraphQL API to access the DB. My questions were, 1. Will Prisma ever support SQLLite. The answer is Yes, as I saw it on the roadmap. So the next question would be, when? 2. If I have to use any other solution to access a SQLLite DB now, what would be the best solution for that? DataLoader or join-monster, plain access to the DB?
l
But dataloader is just a pattern. Elixir/Absinthe calls it “batch”. It’s like asking if you should use SQL plus higher order functions or Prisma.
t
DataLoader is a utility from Facebook