Class: RailsConsolePro::ProfileResult::QuerySample

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

Instance Attribute Summary collapse

Instance Attribute Details

#bindsObject

Returns the value of attribute binds

Returns:

  • (Object)

    the current value of binds



6
7
8
# File 'lib/rails_console_pro/profile_result.rb', line 6

def binds
  @binds
end

#cachedObject

Returns the value of attribute cached

Returns:

  • (Object)

    the current value of cached



6
7
8
# File 'lib/rails_console_pro/profile_result.rb', line 6

def cached
  @cached
end

#duration_msObject

Returns the value of attribute duration_ms

Returns:

  • (Object)

    the current value of duration_ms



6
7
8
# File 'lib/rails_console_pro/profile_result.rb', line 6

def duration_ms
  @duration_ms
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



6
7
8
# File 'lib/rails_console_pro/profile_result.rb', line 6

def name
  @name
end

#sqlObject

Returns the value of attribute sql

Returns:

  • (Object)

    the current value of sql



6
7
8
# File 'lib/rails_console_pro/profile_result.rb', line 6

def sql
  @sql
end