(self, sql, params, *ignored_wrapper_args)
| 92 | return executor(sql, params, many, context) |
| 93 | |
| 94 | def _execute(self, sql, params, *ignored_wrapper_args): |
| 95 | # Raise a warning during app initialization (stored_app_configs is only |
| 96 | # ever set during testing). |
| 97 | if not apps.ready and not apps.stored_app_configs: |
| 98 | warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning) |
| 99 | self.db.validate_no_broken_transaction() |
| 100 | with self.db.wrap_database_errors: |
| 101 | if params is None: |
| 102 | # params default might be backend specific. |
| 103 | return self.cursor.execute(sql) |
| 104 | else: |
| 105 | return self.cursor.execute(sql, params) |
| 106 | |
| 107 | def _executemany(self, sql, param_list, *ignored_wrapper_args): |
| 108 | # Raise a warning during app initialization (stored_app_configs is only |
nothing calls this directly
no test coverage detected