Closed bdhaegar closed 5 years ago
I found this:
https://w3c.github.io/IndexedDB/#key-construct
So I think a boolean value is not a valid key in indexeddb. If there is no way around it other to store the true or false value in a string column in order to query them it would be helpful to mention in the help manual of jsstore.net
any suggestion about where i should add it ?
note added in column doc -http://jsstore.net/tutorial/column/.
I am struggling to select data by querying a boolean field. I defined a column as described below:
{ name: "DeleteMe", dataType: 'boolean', enableSearch: true }
Then I am trying to select all records with the boolean value "true" in the column "DeleteMe":
connection2.select({ from: "NCRTable",
}).catch(function(error) { alert(error.message); });
Any advise on how to accomplish this would be highly appreciated. Thank you in advance. This is the error message I get: