nolanlawson/cordova-plugin-sqlite-2

Android: should throw meaningful errors when the 1MB CursorWindow limit is reached

Open

#46 opened on Dec 18, 2016

View on GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (29 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (168 stars)
PR merge metrics
 (PR metrics pending)

Description

Currently these errors just get swallowed, e.g.: https://github.com/pouchdb/pouchdb/issues/5413

We just return empty results which causes bugs later on down the line that are hard to diagnose: https://github.com/nolanlawson/cordova-plugin-sqlite-2/blob/33afdef8409b8782b7a82ca7d59270e7e11541dd/src/android/SQLitePlugin.java#L93-L96

Contributor guide