Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mongodb cannot be queried on date coloumn #37

Open
niveathika opened this issue Dec 12, 2018 · 1 comment
Open

Mongodb cannot be queried on date coloumn #37

niveathika opened this issue Dec 12, 2018 · 1 comment

Comments

@niveathika
Copy link
Member

Description:
$subject, MongoDB date column cannot be matched to a siddhi column

Ref: https://docs.mongodb.com/manual/reference/method/Date/

Affected Product Version:
1.0.x

@niveathika
Copy link
Member Author

Date column can be matched to a string column, however, when querying the following query is passed down, which results in no results being returned
{dateAdded:{$gte: "new Date(1544616061)" }} [1]

Correct query to be passed down: {dateAdded:{$gte: new Date(1544616061) }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant