Convert table to dict for easier access
parent
aff95b794e
commit
3ae8fd2d12
|
@ -73,6 +73,8 @@ function Base.write(io::IOStream, object::Action; S = UInt32)
|
|||
wl
|
||||
end
|
||||
|
||||
Base.Dict(dbt::DataBaseTable) = dbt.memory.data
|
||||
|
||||
function Base.getindex(tbl::DataBaseTable, key::T) where T
|
||||
tbl.memory.data[key]
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue