enquote id in query

Signed-off-by: kiara <kiara@bij1.org>
This commit is contained in:
kiara 2023-09-24 17:21:56 +00:00
parent b4c294f71a
commit 35406b2de2
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ Of voor een enkele gebruiker:
</p>
<ul>
<li>
<code>ssh db.bij1.net "sudo psql -U postgres helios -c \"SELECT short_name, voter_login_id, voter_password FROM helios_voter JOIN helios_election ON election_id = helios_election.id WHERE helios_election.uuid IN ('<emph>UUID1</emph>', '<emph>UUID2</emph>', <emph>...</emph>) AND voter_login_id = <emph>123</emph>;\" -tAF,"</code>
<code>ssh db.bij1.net "sudo psql -U postgres helios -c \"SELECT short_name, voter_login_id, voter_password FROM helios_voter JOIN helios_election ON election_id = helios_election.id WHERE helios_election.uuid IN ('<emph>UUID1</emph>', '<emph>UUID2</emph>', <emph>...</emph>) AND voter_login_id = '<emph>123</emph>';\" -tAF,"</code>
</li>
</ul>
<p>... waar <emph>123</emph> vervangen dient te worden door het ID van de gebruiker.</p>