Method: Lhm::Connection::DataMapperConnection#show_create
- Defined in:
- lib/lhm/connection.rb
#show_create(table_name) ⇒ Object
29 30 31 32 |
# File 'lib/lhm/connection.rb', line 29 def show_create(table_name) sql = "show create table `#{ table_name }`" select_one(sql).values.last end |