Searched refs:query_set (Results 1 – 2 of 2) sorted by relevance
/external/autotest/frontend/tko/ |
D | models.py | 351 def _add_attribute_join(self, query_set, join_condition, argument 355 return self.add_join(query_set, 'tko_test_attributes', 361 def _add_label_pivot_table_join(self, query_set, suffix, join_condition='', argument 363 return self.add_join(query_set, 'tko_test_labels_tests', 370 def _add_label_joins(self, query_set, suffix=''): argument 371 query_set = self._add_label_pivot_table_join( 372 query_set, suffix=suffix, force_left_join=True) 380 query_set.query.add_custom_join('tko_test_labels', 382 query_set.query.LOUTER, 384 return query_set [all …]
|
/external/autotest/frontend/afe/ |
D | model_logic.py | 73 def convert_query(self, query_set): argument 78 query_set = query_set.all() 79 query_set.query = query_set.query.clone( 82 return query_set 104 def add_join(self, query_set, join_table, join_key, join_condition='', argument 127 join_from_table = query_set.model._meta.db_table 139 join_type = query_set.query.LOUTER 141 join_type = query_set.query.INNER 143 query_set = self.CustomQuery.convert_query(query_set) 144 query_set.query.add_custom_join(join_table, [all …]
|