@ujjwalguptaofficial actually, referring to my previous post, it's still not working. It only works when I initialize it without the worker, then i reinitialize it with a worker again but that's not the correct way.
Anyways, thanks for your help. I guess I'll just wrap it in a web worker and call the web worker to execute the JsStore commands instead. That should do the trick right?
var results = await connection.select({
from: "Users",
sortBy: "points",
});
Hi, I have a column like this:
defaultMachineId: {
notNull: false,
dataType: DATA_TYPE.String,
default: null
}
When I update the column with a null value I get the error Supplied value for column 'defaultMachineId' have wrong data type
and I can't use insert method with skipDataCheck
I must use the update method.
Why update method can't be null value?
start()
function.
@ujjwalguptaofficial I might need some help. I was trying to retrieve records based on a group of dates. Not sure why it is not working with the latest version.
Here's how I defined it in my schema:
createdDate: { notNull: true, dataType: JsStore.DATA_TYPE.DateTime }
However when I tried this where clause, { createdDate: new Date() }, it just retrieves everything.
If I tried something like this, { createdDate: { in: [new Date(), new Date()] } }, it just returns me an empty result.
Just substitute the new Date() variable to something like Date1, Date2 etc.
Not sure what's going on here. Any advice on how to make this work?
{ id: 1 }
or { createdDate: new Date() }
. If I combined them both like this, { id: 1, createdDate: new Date() }
, then the query won't work. Not sure what's going on here.
from: 'tags',
aggregate: {
count: 'tag'
},
groupBy: 'tag',
order: {
by: 'count(tag)',
sort: 'desc'
}
});
@ahencyclopedia_twitter right now its not supported, i have added an issue - ujjwalguptaofficial/JsStore#191
please follow this one for fixes.