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

11 lines
214 B
SQL

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 *;