/
hash
hash
Get the hashcode value (double) of a column (string type).
Usage Details
LQL Command
select *, hash(column) as hashCode from tableName -- column: column name to compute hash code -- tableName: name of a table -- returnValue: hash code value (double) of a column
Example
Input
table
id | user |
---|---|
1 | emil |
2 | logichub |
LQL command
select *, hash(user) as hashCode from table
Output
id | user | |
---|---|---|
1 | emil | 3117003.0 |
2 | logichub | 2.022441175E9 |
, multiple selections available,
Related content
strRandomness
strRandomness
More like this
ensureTableHasColumns
ensureTableHasColumns
More like this
SHA512 hash function (sha512)
SHA512 hash function (sha512)
More like this
SHA256 hash function (sha256)
SHA256 hash function (sha256)
More like this