expo-sqlite-orm icon indicating copy to clipboard operation
expo-sqlite-orm copied to clipboard

.insert is not a function (it is undefined)

Open theianjohnson opened this issue 1 year ago • 4 comments

Using expo-sqlite-orm 2.1.0 and trying to integrate the example into a new app on the last versions of Expo etc and getting my repository object .insert is not a function (it is undefined)

Do you have a working example somewhere? The linked example repo is on an old version of expo-sqlite-orm

theianjohnson avatar Oct 09 '23 23:10 theianjohnson

Hello, please check your implementation. I updated the examples. You can find them here: https://github.com/dflourusso/expo-sqlite-orm#working-examples

dflourusso avatar Oct 10 '23 15:10 dflourusso

It looks like https://github.com/dflourusso/expo-sqlite-orm-example has "expo-sqlite-orm": "^1.5.3", right? Or am I looking at the wrong thing?

theianjohnson avatar Oct 10 '23 17:10 theianjohnson

It was my bad, try https://github.com/dflourusso/expo-sqlite-orm-example again, please!

dflourusso avatar Oct 10 '23 17:10 dflourusso

the @theianjohnson did it work for you? should this ticket be closed?

angelxmoreno avatar Apr 08 '24 15:04 angelxmoreno