Class: Postgresql::Check::Constraint

Inherits:
Struct
  • Object
show all
Defined in:
lib/postgresql/check/constraint.rb

Instance Attribute Summary collapse

Instance Attribute Details

#conditionObject

Returns the value of attribute condition

Returns:

  • (Object)

    the current value of condition



3
4
5
# File 'lib/postgresql/check/constraint.rb', line 3

def condition
  @condition
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/postgresql/check/constraint.rb', line 3

def name
  @name
end

#table_nameObject

Returns the value of attribute table_name

Returns:

  • (Object)

    the current value of table_name



3
4
5
# File 'lib/postgresql/check/constraint.rb', line 3

def table_name
  @table_name
end