having(opts, *rest)
Instance Public methods
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')
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')
Please login to continue.