Class: HiveSQL::SqlBase

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/hive_sql/models/sql_base.rb

Instance Method Summary collapse

Instance Method Details

#txObject


23
24
25
# File 'lib/hive_sql/models/sql_base.rb', line 23

def tx
  HiveSQL::Transaction.find_by(tx_id: self.tx_id)
end