delphi.market/db
ekzyis 5969b23a31 Fix undefined CTE execution order
"""
The sub-statements in WITH are executed concurrently with each other and with the main query.
Therefore, when using data-modifying statements in WITH, the order in which the specified updates actually happen is unpredictable.
"""
-- https://www.postgresql.org/docs/14/queries-with.html

Also see https://stackoverflow.com/questions/47622827/cte-execution-order
2023-12-04 04:45:27 +01:00
..
db.go Test login + callback 2023-11-03 20:34:21 +01:00
init.sql Show market outcome 2023-12-04 02:36:09 +01:00
invoice.go Use PENDING for unpaid invoices 2023-12-02 21:47:20 +01:00
lnauth.go refactor: fix init and use DI 2023-11-03 20:34:21 +01:00
market.go Fix undefined CTE execution order 2023-12-04 04:45:27 +01:00
session.go Add msats to session 2023-12-02 23:30:48 +01:00
types.go Show market outcome 2023-12-04 02:36:09 +01:00
user.go Test login + callback 2023-11-03 20:34:21 +01:00
withdrawal.go Implement withdrawal 2023-12-03 06:21:57 +01:00