remax-backend-rs/sql/property/fetch_with_ids.sql

9 lines
123 B
SQL

SELECT
id,
title,
description,
agent_id,
state as "state: _",
time_created,
last_updated
FROM property where id = ANY($1);