Exemplo n.º 1
0
 def __new__(cls, *args, **kwargs):
     node = _DatabaseNode.__new__(cls, *args, **kwargs)
     node.statement = sql_statement(node.sql, node.dbapi)
     return node
Exemplo n.º 2
0
 def __new__(cls, *args, **kwargs):
     node = _DatabaseNode.__new__(cls, *args, **kwargs)
     node.statement = sql_statement(node.sql, node.dbapi2_module)
     return node
Exemplo n.º 3
0
 def __new__(cls, *args, **kwargs):
     node = _SlowSqlNode.__new__(cls, *args, **kwargs)
     node.statement = sql_statement(node.sql, node.dbapi)
     return node
Exemplo n.º 4
0
 def __new__(cls, *args, **kwargs):
     node = _SlowSqlNode.__new__(cls, *args, **kwargs)
     node.statement = sql_statement(node.sql, node.dbapi)
     return node