Add long hash to Hash class, switch DB IO from md5
Add a new long hash type and uniq id long hash. Also set the default hash (short) and hash long to a public constant Switch all DB IO from md5 to long hash type so we can easy update hashing of queries
This commit is contained in:
@@ -102,9 +102,9 @@ class PgSQL
|
||||
* Proposed
|
||||
* wrapperf or pg_query_params for queries in the style of
|
||||
* SELECT foo FROM bar WHERE foobar = $1
|
||||
* @param string $query Query string with placeholders $1, ..
|
||||
* @param array $params matching parameters for each placerhold
|
||||
* @return object|resource|bool query result (PgSql\Result)
|
||||
* @param string $query Query string with placeholders $1, ..
|
||||
* @param array<mixed> $params Matching parameters for each placerhold
|
||||
* @return object|resource|bool Query result (PgSql\Result)
|
||||
*/
|
||||
public function __dbQueryParams(string $query, array $params)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user