pydent.interfaces.QueryInterfaceABC¶
-
class
pydent.interfaces.
QueryInterfaceABC
[source]¶ Bases:
abc.ABC
Interface that is used by models to find other models.
-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
Initialize self.
all
()find
(mid)find_by_name
(name)first
()last
()Alias for self.model.__name__
one
()where
(query, **kwargs)-