Class: TypedDag::Sql::InsertClosureOfDepth::Sql
- Inherits:
-
Object
- Object
- TypedDag::Sql::InsertClosureOfDepth::Sql
- Defined in:
- lib/typed_dag/sql/insert_closure_of_depth.rb
Instance Method Summary collapse
-
#initialize(configuration) ⇒ Sql
constructor
A new instance of Sql.
- #sql(depth) ⇒ Object
Constructor Details
Instance Method Details
#sql(depth) ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/typed_dag/sql/insert_closure_of_depth.rb', line 13 def sql(depth) if helper.mysql_db? sql_mysql(depth) else sql_postgresql(depth) end end |