Module: Mysql2::Client::GeneralLog
- Included in:
- Mysql2::Client
- Defined in:
- lib/mysql2/client/general_log.rb,
lib/mysql2/client/general_log/version.rb
Defined Under Namespace
Classes: Log
Constant Summary collapse
- VERSION =
"0.2.1"
Instance Attribute Summary collapse
-
#general_log ⇒ Object
Returns the value of attribute general_log.
Instance Method Summary collapse
- #initialize(opts = {}) ⇒ Object
-
#query(sql, options = {}) ⇒ Object
dependent on Mysql2::Client#query.
Instance Attribute Details
#general_log ⇒ Object
Returns the value of attribute general_log.
15 16 17 |
# File 'lib/mysql2/client/general_log.rb', line 15 def general_log @general_log end |
Instance Method Details
#initialize(opts = {}) ⇒ Object
17 18 19 20 |
# File 'lib/mysql2/client/general_log.rb', line 17 def initialize(opts = {}) @general_log = [] super end |