realtor-lp-backend/sql/realtor/update.sql

11 lines
214 B
MySQL
Raw Normal View History

2023-05-03 17:50:59 +00:00
UPDATE realtor SET
name = $2,
bio = $3,
phone_number = $4,
email = $5,
profile_picture_url = $6,
show_projects = $7,
remax_agent_id = $8,
last_updated = $9
WHERE id = $1
RETURNING *;