Where communities thrive
Join over
1.5M+ people
Join over
100K+ communities
Free
without limits
Create
your own community
Explore more communities
Onyx Framework/sql
An MIT-licensed SQL ORM
People
Repo info
Activity
G. Gibson
@mistergibson
Anyone home?
Vlad Faust
@vladfaust
@mistergibson
yup
G. Gibson
@mistergibson
Hey there
Vlad Faust
@vladfaust
Absolutely hey there =)
G. Gibson
@mistergibson
So, I'm curious -- can I use more than one db with onyx/sql?
My use case calls for sqlite3 locally, and a network connection to a MySQL/Postgres db.
I will be sync'ing between them
Vlad Faust
@vladfaust
Well, it’s theoretically possible. Just have multiple repos and custom converters handling ResultSet from both databases
G. Gibson
@mistergibson
ah ok
Ragmaanir
@Ragmaanir
hi, how do i do a select COUNT(*)? Or do i have to use unsafe sql?
Vlad Faust
@vladfaust
Hey
@Ragmaanir
, yes, you have to write raw SQL for that
_