hashids.sql
hashids.sql copied to clipboard
PL/pgSQL implementation of hashids library
Results
4
hashids.sql issues
Sort by
recently updated
recently updated
newest added
When you run the script for the first time on a PostgreSQL server that does not have the functions, it fails when trying to drop the `hashids.decode_hex` function.
The implementation of the `hashids.to_alphabet` function leads to different encodings for the value 0 compared to implementations in other languages. Specifically, if `current_number` begins as 0 the function is essentially...
- As it gets replaced anyways - Fixes error message on setup