Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: db.executeAsync is not a function (it is undefined) #38

Open
ayhamthemayhem opened this issue Dec 2, 2024 · 3 comments
Open

Comments

@ayhamthemayhem
Copy link

Hey There,
First of all thank you for all the work you did to make this adapter :)

I have been trying to switch an existing adapter with this one that I am using inside a react native app and I got this error:

TypeError: db.executeAsync is not a function (it is undefined)

I noticed that more people have the same issue and posted a comment on your blog post here

I might try to help fix this issue as well if you can provide some guidance.

Also How does this adapter handle files ? I noticed a support for attachments but are those stored as base 64 bit string or as a blob ? a big chunk of the app data is going to be a lot thumbnail images downloaded from a central Couchdb and I am having some performance concerns and was wondering if you can recommend some methods or ideas to handle that.

Thanks a lot

@craftzdog
Copy link
Owner

which version of @op-engineering/op-sqlite do you use?

@ayhamthemayhem
Copy link
Author

@op-engineering/op-sqlite": "^10.1.0

@craftzdog
Copy link
Owner

currently it requires ^6.2.11

"@op-engineering/op-sqlite": "^6.2.11",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants