【发布时间】:2016-11-14 21:48:51
【问题描述】:
如何测试一个值是否在我的两个数据库列之间?
我需要做这样的事情:
between(column1, column2, 'value')
或类似的东西:
or{
and {
ge("hora_inicio", evento.hora_inicio)
le("hora_fim", evento.hora_inicio)
}
and {
ge("hora_inicio", evento.hora_fim)
le("hora_fim", evento.hora_fim)
}
}
有什么想法吗?
谢谢!
【问题讨论】: