diff --git a/databases/backends/postgres.py b/databases/backends/postgres.py index 3e1a6fff..87b73d11 100644 --- a/databases/backends/postgres.py +++ b/databases/backends/postgres.py @@ -155,7 +155,7 @@ def __len__(self) -> int: return len(self._row) def __getattr__(self, name: str) -> typing.Any: - return self._mapping.get(name) + return self.__getitem__(name) class PostgresConnection(ConnectionBackend):