Class: Babik::Selection::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/babik/queryset/lib/selection/config.rb

Overview

Selection configuration

Constant Summary collapse

RELATIONSHIP_SEPARATOR =

Relationship separator string e.g.

- author::first_name__iregex where author is the association, first_name is the field and iregex the operator
- posts::tags::name__contains where posts is related with tags and (tag) name is the field
  and contains the operator.
'::'
OPERATOR_SEPARATOR =

Operator separator string e.g. first_name__iregex where first_name is the field an iregex the operator

'__'