Home
last modified time | relevance | path

Searched refs:query_set (Results 1 – 2 of 2) sorted by relevance

/external/autotest/frontend/tko/
Dmodels.py332 def _add_attribute_join(self, query_set, join_condition, argument
336 return self.add_join(query_set, 'tko_test_attributes',
342 def _add_label_pivot_table_join(self, query_set, suffix, join_condition='', argument
344 return self.add_join(query_set, 'tko_test_labels_tests',
351 def _add_label_joins(self, query_set, suffix=''): argument
352 query_set = self._add_label_pivot_table_join(
353 query_set, suffix=suffix, force_left_join=True)
361 query_set.query.add_custom_join('tko_test_labels',
363 query_set.query.LOUTER,
365 return query_set
[all …]
/external/autotest/frontend/afe/
Dmodel_logic.py72 def convert_query(self, query_set): argument
77 query_set = query_set.all()
78 query_set.query = query_set.query.clone(
81 return query_set
103 def add_join(self, query_set, join_table, join_key, join_condition='', argument
126 join_from_table = query_set.model._meta.db_table
138 join_type = query_set.query.LOUTER
140 join_type = query_set.query.INNER
142 query_set = self.CustomQuery.convert_query(query_set)
143 query_set.query.add_custom_join(join_table,
[all …]