realtor-lp-backend/sql/project/fetch_with_realtor_id.sql

19 lines
382 B
SQL

SELECT
id,
title,
description,
realtor_id,
media as "media: _",
project_condition as "project_condition: _",
project_type as "project_type: _",
project_state as "project_state: _",
country,
city,
district,
admin_tag,
floors,
finish_date,
order_index,
time_created,
last_updated
FROM project WHERE realtor_id = $1;