Determines if the statement is mutating based on the status.
(status)
| 1774 | |
| 1775 | |
| 1776 | def is_mutating(status): |
| 1777 | """Determines if the statement is mutating based on the status.""" |
| 1778 | if not status: |
| 1779 | return False |
| 1780 | |
| 1781 | mutating = {"insert", "update", "delete"} |
| 1782 | return status.split(None, 1)[0].lower() in mutating |
| 1783 | |
| 1784 | |
| 1785 | def is_select(status): |