def as_scalar(self):
    'Return the full SELECT statement represented by this\n        :class:`.Query`, converted to a scalar subquery.\n\n        Analogous to :meth:`sqlalchemy.sql.expression.SelectBase.as_scalar`.\n\n        .. versionadded:: 0.6.5\n\n        '
    return self.enable_eagerloads(False).statement.as_scalar()
Return the full SELECT statement represented by this
:class:`.Query`, converted to a scalar subquery.

Analogous to :meth:`sqlalchemy.sql.expression.SelectBase.as_scalar`.

.. versionadded:: 0.6.5
def as_scalar(self):
    'Return the full SELECT statement represented by this\n        :class:`.Query`, converted to a scalar subquery.\n\n        Analogous to :meth:`sqlalchemy.sql.expression.SelectBase.as_scalar`.\n\n        .. versionadded:: 0.6.5\n\n        '
    return self.enable_eagerloads(False).statement.as_scalar()