Operators

Grouping

Parentheses. Learn how to group expressions in pb-query.

.group(callback)

Creates a logical group.

pbQuery<Post>().group((q) => q.equal('status', 'active').or().equal('status', 'inactive')); // (status~'active' || status~'inactive')