OP-Engineering / op-sqlite

Fastest SQLite library for react-native by @ospfranco
MIT License
598 stars 41 forks source link

Migrate to pure async functions and bring back non-host-object API #142

Closed ospfranco closed 2 months ago

rvibit commented 2 months ago

@ospfranco so in new version we'll not have sync API, just like we have now?

ospfranco commented 2 months ago

No, it's too much work to keep both in sync

rvibit commented 2 months ago

No, it's too much work to keep both in sync

Oh ok, i like sync api more but can't do anything now 😅

ospfranco commented 2 months ago

sync API is in almost all cases the wrong API to use. It's easier to use but except for the most simplest of queries brings no other value than DX.

rvibit commented 2 months ago

sync API is in almost all cases the wrong API to use. It's easier to use but except for the most simplest of queries brings no other value than DX.

Ah ok got it

omniphx commented 2 months ago

@ospfranco will this change restore the use of the spread operator?

ospfranco commented 2 months ago

Yes

patlux commented 2 months ago

That's really sad...time to move to expo-sqlite for the sync api