dflourusso / expo-sqlite-orm

Expo SQLite ORM
132 stars 34 forks source link

.insert is not a function (it is undefined) #65

Open theianjohnson opened 8 months ago

theianjohnson commented 8 months ago

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

dflourusso commented 8 months ago

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

theianjohnson commented 8 months ago

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?

dflourusso commented 8 months ago

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

angelxmoreno commented 2 months ago

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