Changes between Version 2 and Version 3 of EditBuild


Ignore:
Timestamp:
12/29/25 02:17:48 (3 hours ago)
Author:
233051
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EditBuild

    v2 v3  
    1616LIMIT 1;
    1717}}}
     18
     19{{{
     20BEGIN;
     21
     22SELECT
     23  b.id,
     24  b.user_id      AS "userId",
     25  b.is_approved  AS "isApproved",
     26  b.name,
     27  b.description,
     28  b.total_price  AS "totalPrice"
     29FROM builds b
     30WHERE b.id = $1        -- buildId
     31  AND b.user_id = $2   -- userId
     32LIMIT 1;
     33
     34SELECT
     35  bc.component_id AS "componentId"
     36FROM build_components bc
     37WHERE bc.build_id = $1;  -- buildId
     38
     39COMMIT;
     40}}}