diff --git a/src/structure.jl b/src/structure.jl index 3124d60..a4d2d7e 100644 --- a/src/structure.jl +++ b/src/structure.jl @@ -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