Method: EasyMvc::Mapper#delete
- Defined in:
- lib/easymvc/mapper.rb
#delete(id) ⇒ Object
77 78 79 |
# File 'lib/easymvc/mapper.rb', line 77 def delete(id) @@db.execute "DELETE FROM #{@@table_name} WHERE id=?", id end |
77 78 79 |
# File 'lib/easymvc/mapper.rb', line 77 def delete(id) @@db.execute "DELETE FROM #{@@table_name} WHERE id=?", id end |