mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-02 17:53:55 +00:00
don't return the wrong thing
This commit is contained in:
parent
c4fc31fea3
commit
9de2fa8726
@ -256,7 +256,7 @@ class RNSqliteTests extends Tests {
|
||||
|
||||
async querycount() {
|
||||
var len;
|
||||
return await this.db.readTransaction(async (tx) => {
|
||||
await this.db.readTransaction(async (tx) => {
|
||||
let [, results] = await tx.executeSql('SELECT * FROM t1 WHERE int = 0 AND double < ' + numTestObjects/2 + ';');
|
||||
len = results.rows.length;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user