dflourusso / expo-sqlite-orm

Expo SQLite ORM
132 stars 34 forks source link

Do not force NUMERIC type on primary key #16

Closed riderodd closed 4 years ago

riderodd commented 4 years ago

Hi, The primary key can also be from a diferent type, as TEXT. This pull request fix that.

The error return statement is also fixed. On SDK 33, the docs tells: error (function) -- Called if an error occured executing this particular query in the transaction. Takes two parameters: the transaction itself, and the error object.

This pull request fix also that bug.

dflourusso commented 4 years ago

Your changes failed in travis build, please fix it