wip: currently rewriting the project as a full stack application tangled.org/kacaii.dev/sigo
gleam
at main 18 lines 354 B view raw
1--  Update an user's information as admin 2update public.user_account as u 3set 4 full_name = $2, 5 email = $3, 6 user_role = $4, 7 registration = $5, 8 is_active = $6, 9 updated_at = current_timestamp 10where u.id = $1 11returning 12 u.id, 13 u.full_name, 14 u.email, 15 u.user_role, 16 u.registration, 17 u.is_active, 18 u.updated_at;