Hi!
Today I found myself writing the following:
where('EXTRACT(MONTH FROM date) = ? AND EXTRACT(YEAR FROM date) = ?',
d.month, d.year)
and I was wondering if I could write the same with Sequel methods rather
than "raw" SQL, since this syntax is Postgres specific.
I want to find any records that have a matching Date field, by comparing
only month and year.
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.