noc.core.model.sql

Module Contents

noc.core.model.sql.logger
class noc.core.model.sql.SQLNode(sql)

Bases: django.db.models.query_utils.Q

noc.core.model.sql.SQL(sql)
Q-style wrapper for SQL statement. Can be used in queryset
together with Q
class noc.core.model.sql.SQLLookup

Bases: django.db.models.lookups.Lookup

lookup_name = rawsql
prepare_rhs = False
as_sql(self, compiler, connection)