(self, select, **kw)
| 1741 | return "SELECT 1 FROM DUAL WHERE 1!=1" |
| 1742 | |
| 1743 | def for_update_clause(self, select, **kw): |
| 1744 | if self.is_subquery(): |
| 1745 | return "" |
| 1746 | |
| 1747 | tmp = " FOR UPDATE" |
| 1748 | |
| 1749 | if select._for_update_arg.of: |
| 1750 | tmp += " OF " + ", ".join( |
| 1751 | self.process(elem, **kw) for elem in select._for_update_arg.of |
| 1752 | ) |
| 1753 | |
| 1754 | if select._for_update_arg.nowait: |
| 1755 | tmp += " NOWAIT" |
| 1756 | if select._for_update_arg.skip_locked: |
| 1757 | tmp += " SKIP LOCKED" |
| 1758 | |
| 1759 | return tmp |
| 1760 | |
| 1761 | def visit_is_distinct_from_binary(self, binary, operator, **kw): |
| 1762 | return "DECODE(%s, %s, 0, 1) = 1" % ( |
nothing calls this directly
no test coverage detected