Determine whether this is a first-order clause.
Determines and validates what comparison operator to use.
Validates the given date_query values and triggers errors if something is not valid.
Validates a column name parameter.
Generate WHERE clause to be appended to a main query.
Generate SQL clauses to be appended to a main query.
Generate SQL clauses for a single query array.
Turns a single date clause into pieces for a WHERE clause.
Turns a first-order date query into SQL for a WHERE clause.
Builds and validates a value string based on the comparison operator.
Builds a MySQL format date/time based on some query parameters.
Builds a query string for comparing time values (hour, minute, second).
Recursive-friendly query sanitizer.