Host, database, credentials, port, and SSL settings.
Query
String
Yes
A non-empty SQL statement.
Parameters
List of any values
No
Values bound to $1, $2, $3, and later placeholders in order.
select id, emailfrom customerswhere plan = $1 and created_at >= $2order by created_at desc;
Add pro as parameter 1 and the cutoff date as parameter 2.
Use parameters for values instead of joining untrusted text into SQL.
Parameter placeholders protect values, but they cannot stand in for table or
column names.