Created
June 9, 2019 09:49
-
-
Save bussiere/474b5d5a16d3b30d0364b558de6c9dab to your computer and use it in GitHub Desktop.
faire un like propre en evitant l'insertion sql golang go sqlx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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