Let's say I have a table of objects that all have ...
# orm-help
h
Let's say I have a table of objects that all have a
startTime
and an
endTime
Using prisma-connect, how would I go about writing a query that accepts a
DateTime
string, and returns the proper object on which this input falls between the
startTime
and
endTime
Likewise, when adding new objects to this table, how could I structure a mutation to ensure that no time boundaries overlap?
Actually, think I may have just answered my own question
👍 1
...testing
j
Nothing feels better than answering your own questions 😛