-
Notifications
You must be signed in to change notification settings - Fork 5
Working with Hashes
topofocus edited this page May 28, 2019
·
5 revisions
(under Construction)
> the_record = TestModel.create ll: { tus: 6, :tux: 9, zottel: 'rt'}
> the_record.to_human
<TestModel: ll : {:tus=>6, :tux=>9, :zottel=>"rt"}>> the_record.ll[:zt] = 7
INFO->update #25:0 set ll.zt = 7 return after @this
<TestModel: ll : {:tus=>6, :tux=>9, :zottel=>"rt", :zt=>7}> > the_record.ll[:zt] = 'uz'
INFO->update #25:0 set ll.zt = 'uz' return after @this
<TestModel: ll : {:tus=>6, :tux=>9, :zottel=>"rt", :zt=>"uz"}>> the_record.ll.remove :zottel
INFO->update #25:0 remove ll.zottel return after @this
<TestModel: ll : {:tus=>6, :tux=>9, :zt=>"uz"}>Overview
Data Management
- Joining Tables, embedded Lists
- Links and Link Lists
- Relations
- Bidirectional Connections
- Working with Hashes
Public API
- Database
- Model CRUD
Misc