Class: Dbee::Model::Constraints

Inherits:
Object
  • Object
show all
Defined in:
lib/dbee/model/constraints.rb,
lib/dbee/model/constraints/base.rb,
lib/dbee/model/constraints/static.rb,
lib/dbee/model/constraints/reference.rb

Overview

Top-level class that allows for the making of constraints. For example, you can call this as:

  • Constraints.make(type: :reference, name: :id, parent: some_id)

  • Constraints.make(type: :static, name: :genre, value: :comedy)

Defined Under Namespace

Classes: Base, Reference, Static