Expand
/
separated field names, and so the below code is equivalent.
Expand
unify.ColumnContext("...")
by default will also change the behaviour of get_logs
,
returning only the logs which are part of the column context.
"Sciences"
does include both logs,
whereas the context "Sciences"
in the earlier example did not.
As before, this behaviour can be change by setting unify.ColumnContext("...", mode="read")
which will only set the column context for log getting,
and unify.ColumnContext("...", mode="write")
which will only set the column context for log setting.
Note that the Log
instances will still show the full field paths, even when inside a column context.
The getting behaviour only impacts the logs which are retrieved, not the representation of their fields.
This is in contrast to the setting behaviour, which does update the field pattern in the arguments.