Flowdock
method

having

Importance_1
v4.0.2 - Show latest stable - 0 notes - Class: ActiveRecord::QueryMethods
having(opts, *rest) public

Allows to specify a HAVING clause. Note that you can’t use HAVING without also specifying a GROUP clause.

Order.having('SUM(price) > 30').group('user_id')
Show source
Register or log in to add new notes.