pyaccesskit.properties¶
pyaccesskit.properties ¶
Access to DAO property collections (the escape hatch for properties PyAccessKit does not model).
PropertyBag ¶
PropertyBag(session: Session, target: PropertyTarget)
The DAO Properties of a database, table, field or query.
Reading a property that does not exist raises :class:~pyaccesskit.errors.ObjectNotFoundError (a
LookupError); :meth:get returns a default instead. Setting a missing property creates it — with the
DAO type Access itself uses for well-known properties (Description, AppTitle, UseMDIMode...)
or one inferred from the value, unless type is given::
db.properties["AppTitle"] = "Customer Manager"
db.tables["Customers"].properties.set("SubdatasheetName", "[None]")