Home | History | Annotate | Download | only in contrib

Lines Matching full:rows

46 WHERE %(table)s.%(primary_key)s IN (%(rows)s)
137 using a related table to find the rows to delete.
144 There are also tables that require 2 joins to determine which rows we want
145 to delete and we determine these rows by joining the table we want to
148 @param table_to_delete_from: Table whose rows we want to delete.
158 to the table we are trying to delete rows
179 # There are cases where we need to JOIN 3 TABLES to determine the rows
193 rows = [x[0] for x in cursor.fetchall()]
194 logging.debug(rows)
196 if not rows or rows == [None]:
202 with ProgressBar(table_to_delete_from, len(rows)) as pb:
203 for row_keys in grouper(rows, STEP_SIZE):
204 variables['rows'] = ','.join([str(x) for x in row_keys])
240 @param step: Rows to delete per SQL query.
283 # Now go through and clean up all the rows related to tko_jobs prior to
344 help='Number of rows to delete at once')