Note that this selects from the CTE, not the original table. The CTE is named the same as the original table to trick sqlc into reusing the existing struct for the table. The CTE and the reorder is required because UPDATE doesn't guarantee order.
(ctx context.Context, now time.Time)
| 1119 | // for the table. |
| 1120 | // The CTE and the reorder is required because UPDATE doesn't guarantee order. |
| 1121 | SelectUsageEventsForPublishing(ctx context.Context, now time.Time) ([]UsageEvent, error) |
| 1122 | SoftDeleteChatMessageByID(ctx context.Context, id int64) error |
| 1123 | SoftDeleteChatMessagesAfterID(ctx context.Context, arg SoftDeleteChatMessagesAfterIDParams) error |
| 1124 | SoftDeleteContextFileMessages(ctx context.Context, chatID uuid.UUID) error |
no outgoing calls