Array queries
I have a column, dates, that is an array of dates (already sorted, guaranteed).
Essentially, I want to query my table for all rows that have the first element of dates (
Is there any way to do this?
I'm honestly just struggling with figuring out how to handle the array data. Here's what I have, which (obviously) does not work:
(the query is more pseudocode than anything LOL)
thanks yall!
Essentially, I want to query my table for all rows that have the first element of dates (
dates[0]) be after some variable startTime and the last element of dates (dates[dates.length-1]) be less than the variable endTimeIs there any way to do this?
I'm honestly just struggling with figuring out how to handle the array data. Here's what I have, which (obviously) does not work:
(the query is more pseudocode than anything LOL)
thanks yall!