Skip to content

Order by datetime (only date part) #254

Answered by homawog
homawog asked this question in Q&A
Discussion options

You must be logged in to vote

Hello again Ujjwal,
I have now found a solution to my problem. This is not particularly clean programmatically, since a data redundancy arises, but I can live with it ;-)
I have added an additional data field with the type number and store there the respective date as number in the form YYYYMMDD. This way I can sort the data as desired, i.e. first today's date, then priority.
Thank you very much for your interest, happy new year and thanks again for your cool plugin, which makes working with IndexDB so much easier.
Martin

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ujjwalguptaofficial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants