psqlextra/query.py
def _is_hstore_field(self, field_name: str) -> Tuple[bool, Optional[models.Field]]:
        """Gets whether the field with the specified name is a
        HStoreField.

        Returns
            A tuple of a boolean indicating whether the field
            with the specified name is a HStoreField, and the
            field instance.
        """

        field_instance = None
        for field in self.model._meta.local_concrete_fields:
            if field.name == field_name or field.column == field_name:
                field_instance = field
                break

        return isinstance(field_instance, HStoreField), field_instance
def _is_hstore_field(self, field_name: str) -> Tuple[bool, Optional[models.Field]]:
        field_instance = None
        for field in self.model._meta.local_concrete_fields:
            if field.name == field_name or field.column == field_name:
                field_instance = field
                break

        return isinstance(field_instance, HStoreField), field_instance
def _is_hstore_field ( self , field_name : str ) -> Tuple [ bool , Optional [ models . Field ] ] : field_instance = None for field in self . model . _meta . local_concrete_fields : if field . name == field_name or field . column == field_name : field_instance = field break return isinstance ( field_instance , HStoreField ) , field_instance
Gets whether the field with the specified name is a
        HStoreField.

        Returns
            A tuple of a boolean indicating whether the field
            with the specified name is a HStoreField, and the
            field instance.
Gets whether the field with the specified name is a HStoreField .