Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upIndexing serde_json::Value during query-building #1823
Comments
This comment has been minimized.
|
#44 tracks json operator support |
sgrif
closed this
Aug 14, 2018
This comment has been minimized.
Kibouo
commented
Aug 14, 2018
|
At the time of asking this question, json operators are not implemented yet. A work-around is using |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Kibouo commentedAug 13, 2018
•
edited
I'm trying to remove expired sessions from a postgresql db.
The scheme looks like this:
And the table as follows:
The data field is always filled in using following (to-be extended) struct:
I wanted to index the
data.deadlineakaSessionData.deadlinefield, and delete expired sessions as such:This doesn't work. It returns the compile-error
How can this be done? I can't seem to find any documentation that uses indexing in a query.
Versions
Feature Flags