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

12 lines
244 B
SQL

UPDATE realtor SET
name = $2,
bio = $3,
phone_number = $4,
email = $5,
profile_picture_url = $6,
banner_picture_url = $7,
show_projects = $8,
remax_agent_id = $9,
last_updated = $10
WHERE id = $1
RETURNING *;