use openCursor where openKeyCursor is not supported
This commit is contained in:
parent
bbf6943455
commit
6f527fd2e0
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Reference in a new issue