psqlextra/expressions.py
def as_sql(self, compiler, connection):
        """Compiles this expression into SQL."""

        sql, params = super().as_sql(compiler, connection)
        return 'EXTRACT(epoch FROM {})'.format(sql), params
def as_sql(self, compiler, connection):
        """Compiles this expression into SQL."""

        sql, params = super().as_sql(compiler, connection)
        return 'EXTRACT(epoch FROM {})'.format(sql), params
def as_sql ( self , compiler , connection ) : sql , params = super ( ) . as_sql ( compiler , connection ) return 'EXTRACT(epoch FROM {})' . format ( sql ) , params
Compiles this expression into SQL.
Compiles this expression into SQL .