Skip to content

Support timestamp and time functions on SQL fliters #844

Description

@evankanderson

Had a conversation today with a user who wanted to be able to apply a filter like the following:

SELECT * WHERE time < NOW() - "5 minutes"

It would be handy to have a timestamp type and a handful of time-related functions. Off the top of my head:

  • NOW()
  • ADD / SUBTRACT
  • MINUTE / HOUR / DAY / DAY_OF_WEEK / MONTH / YEAR
  • LESS-THAN / GREATER-THAN

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions