IsTrue appends a predicate that checks if the column value is truthy.
(col string)
| 836 | |
| 837 | // IsTrue appends a predicate that checks if the column value is truthy. |
| 838 | func IsTrue(col string) *Predicate { |
| 839 | return P().IsTrue(col) |
| 840 | } |
| 841 | |
| 842 | // IsTrue appends a predicate that checks if the column value is truthy. |
| 843 | func (p *Predicate) IsTrue(col string) *Predicate { |