Any chance I can get some leadership on that statement? It's one *WHERE* clause I need to use.
WHERE creation_date::date > (CURRENT_DATE) - interval '30 days'::date *:creation_date* is a timestamp field. It's tripping up on the *'30 days'* part. I'm assuming I do not need any coercing to timestamp or datetime types. .where(:creation_date > (CURRENT_DATE - interval '30 days') Cheers -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/a28c242d-d4d3-42a9-8d3c-a9d69719952e%40googlegroups.com.
