Searched refs:select_sql (Results 1 – 4 of 4) sorted by relevance
/external/autotest/tko/ |
D | test.cgi | 33 tests = frontend.test.select_sql(db, sql, values) 49 mach_name = db.select_sql('hostname', 'machines',
|
D | frontend.py | 163 return test.select_sql(self.db, sql, values) 214 def select_sql(klass, db, sql, values): member in test 218 rows = db.select_sql(','.join(fields), 'tko_tests', sql, values)
|
D | db.py | 355 def select_sql(self, fields, table, sql, values): member in db_sql
|
/external/autotest/frontend/tko/ |
D | models.py | 390 def _add_custom_select(self, query_set, select_name, select_sql): argument 391 return query_set.extra(select={select_name: select_sql}) 400 select_sql = "IF(%s.id IS NOT NULL, '%s', NULL)" % (_quote_name(alias), 402 return self._add_custom_select(query_set, alias, select_sql)
|