dflourusso / expo-sqlite-orm

Expo SQLite ORM
132 stars 34 forks source link

Discussion: limit statement #11

Closed saundefined closed 4 years ago

saundefined commented 5 years ago

Hi, by default, a clean query like Table.get() returns just 30 rows. Maybe change the default limit property like that, so this query returned unlimited rows?

dflourusso commented 4 years ago

I approved your pull request but with some changes. If you do not pass the page, the return rows will be unlimited, but if you pass the page, by default it will return 30 records.