Class: YesRecord::Query

Inherits:
Struct
  • Object
show all
Defined in:
lib/yes_record.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'lib/yes_record.rb', line 9

def name
  @name
end

#sqlObject

Returns the value of attribute sql

Returns:

  • (Object)

    the current value of sql



9
10
11
# File 'lib/yes_record.rb', line 9

def sql
  @sql
end

#statementObject

Returns the value of attribute statement

Returns:

  • (Object)

    the current value of statement



9
10
11
# File 'lib/yes_record.rb', line 9

def statement
  @statement
end