Lines Matching defs:select
32 status_rows = self.select('status_idx, word', 'tko_status', None)
188 self.cur.execute('SELECT LAST_INSERT_ID()', [])
226 def select(self, fields, table, where, distinct=False, group_by=None,
244 cmd = ['select']
275 select fields from table "sql"
277 cmd = 'select %s from %s %s' % (fields, table, sql)
416 exists = self.select('id', 'tko_job_keyvals', where=where)
527 rows = self.select('machine_idx', 'tko_machines', where)
535 rows = self.select('kernel_idx', 'tko_kernels',
589 rows = self.select('test_idx', 'tko_tests', where)
598 rows = self.select('test_idx', 'tko_tests', where)
606 rows = self.select('job_idx', 'tko_jobs', {'tag': tag})