Skip to content

ModelMetaclass

ModelMetaclass

Bases: ModelMetaclass

Metaclass for BaseSBModel, handling Meta class configuration and objects property.

Attributes:

Name Type Description
objects QSet[_M]

Returns a QSet instance for querying the model's table.

objects property

objects: QSet[_M]

Returns a QSet instance for querying the model's table. This is the primary interface for querying the database for instances of the model.