I want to return the value I show here to a variab...
# orm-help
y
I want to return the value I show here to a variable. When the user selects "show what happened after this date" from the form, I want to dynamically return the value I marked on the screen to parameters such as "gte", "lte", "lt" at run time. How do I assign a variable and pass a value to this variable, rather than assigning a fixed value to the place I marked?
r
@Yiğit Rüzgar I’m not sure if this would work but I think you would need to dynamically provide this based on the args selected. So a conditional statement or directly using
gt
or
lt
form the args would be a good choice.
y
What is the best way of elastic query ? For examples ? Sometimes query execute with gte, sometimes lte // how can ı use conditional statement in prisma filter ?
Can you help ? @Ryan