(placeholders, valueAlias, valueColumns, values, returning)
| 853 | } : |
| 854 | escape, |
| 855 | onRecordUpdate(placeholders, valueAlias, valueColumns, values, returning) { |
| 856 | return [ |
| 857 | `(values ${placeholders}) AS ${valueAlias}${valueColumns}${returning ? ` RETURNING ${returning[0]}` : ""}`, |
| 858 | returning ? |
| 859 | values.flat().concat(returning[1]) : |
| 860 | values.flat() |
| 861 | ] |
| 862 | }, |
| 863 | onCustom(type, placeholder, withoutTransform) { |
| 864 | switch (type.kind) { |
| 865 | case "PgJson": { |
nothing calls this directly
no outgoing calls
no test coverage detected