use openCursor where openKeyCursor is not supported

This commit is contained in:
Bruno Windels 2019-09-15 12:24:46 +02:00
parent bbf6943455
commit 6f527fd2e0

View file

@ -12,6 +12,10 @@ class QueryTargetWrapper {
}
openKeyCursor(...params) {
// not supported on Edge 15
if (!this._qt.openKeyCursor) {
return this.openCursor(...params);
}
try {
return this._qt.openKeyCursor(...params);
} catch(err) {