Skip to content

Instantly share code, notes, and snippets.

@bussiere
Created June 9, 2019 09:49
Show Gist options
  • Save bussiere/474b5d5a16d3b30d0364b558de6c9dab to your computer and use it in GitHub Desktop.
Save bussiere/474b5d5a16d3b30d0364b558de6c9dab to your computer and use it in GitHub Desktop.
faire un like propre en evitant l'insertion sql golang go sqlx
faire un like propre
en evitant l'insertion sql
query = `SELECT * FROM "Geo_commune" WHERE code_postal LIKE $1 || '%' ORDER BY code_postal`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment