Class: Pgsqlarbiter::Analysis
- Inherits:
-
Data
- Object
- Data
- Pgsqlarbiter::Analysis
- Defined in:
- lib/pgsqlarbiter/analysis.rb
Overview
Immutable result of analyzing a SQL query.
Instance Attribute Summary collapse
-
#functions ⇒ Array<String>
readonly
Sorted list of called function names.
-
#statement_type ⇒ Symbol
readonly
The statement type (+:select+,
:insert,:update,:delete,:merge, or:values). -
#tables ⇒ Array<String>
readonly
Sorted list of referenced table and view names.
Instance Attribute Details
#functions ⇒ Array<String> (readonly)
Returns sorted list of called function names.
13 |
# File 'lib/pgsqlarbiter/analysis.rb', line 13 Analysis = Data.define(:statement_type, :tables, :functions) |
#statement_type ⇒ Symbol (readonly)
Returns the statement type (+:select+, :insert, :update,
:delete, :merge, or :values).
13 |
# File 'lib/pgsqlarbiter/analysis.rb', line 13 Analysis = Data.define(:statement_type, :tables, :functions) |
#tables ⇒ Array<String> (readonly)
Returns sorted list of referenced table and view names.
13 |
# File 'lib/pgsqlarbiter/analysis.rb', line 13 Analysis = Data.define(:statement_type, :tables, :functions) |