Closed dm20 closed 3 months ago
Hey, you are right, the documentation was outdated. I've fixed it now.
As for the typeORM error, I'm no longer supporting it myself since it's a mess to deal with the internals of it, so I'm not sure what could be wrong.
Got it thanks for your reply. Mind sharing what you think the right driver would be? It can't be much different than what I've got here right? It used to work perfectly in my app that uses the react-native-quick-sql-lite driver for typeorm
Am I misunderstanding the problem perhaps? Is there a standard for making a custom typeorm driver or a process I should follow in order to do this?
Sorry buddy, you are on your own when it comes to typeORM issues
@dm20 someone else just posted a working TypeORM driver here:
https://github.com/OP-Engineering/op-sqlite/issues/112#issuecomment-2274123053
Might be useful to you
@ospfranco thanks for letting me know! will take a look
Describe the bug Hi there, multi part question for you:
It appears the docs are out of date for sqlcipher open - the docs still reference the op-sqlcipher package. Do they need to be updated or am I missing something?
Also, can you comment any further about using op-sqlite with typeorm? I followed this driver example and just passed in the encryption key from typeorm's extra object and it seems to open the database properly, however I'm getting a lot of
ERROR [TypeError: Cannot determine default value of object]
for certain tables while other tables behave fine - any ideas?here's my driver:
Versions:
Reproducible example Create a minimal reproduction example, otherwise I won't take a look. I'm serious, no example = no solution.