Hi, I am trying to have additional conditions on association.
Say typically it looks like:
class Post < Sequel::Model
one_to_many: :comments, conditions: { time_deleted: nil }
end
However, I want to do the opposite like `time_deleted` is not nil.
Does sequel support such operation for conditions?
--
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/79a2dc2c-44be-492c-b937-91c415e63352n%40googlegroups.com.