- install extension unaccent
- use this snippet:
unaccent(replace(lower(<your-string>),' ','-'))
Last active
August 29, 2015 14:09
-
-
Save miloskroulik/ccc1dcff52ef3862437a to your computer and use it in GitHub Desktop.
How to generate slug from (Czech) string in PostgreSQL 9.3 #postgresql
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment