MCPcopy Create free account
hub / github.com/corestoreio/pkg / hashSQL

Function hashSQL

sql/dml/connection.go:668–695  ·  view source on GitHub ↗

hashSQL removes spaces and transforms the SQL to all lowercase and hashes it, to avoid minor duplicates ... maybe that is not worth. refactor later.

(rawSQL string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

Test_hashSQLFunction · 0.85
initDBRQBMethod · 0.85
BenchmarkHashSQLFunction · 0.85

Calls 6

WriteRuneMethod · 0.80
GetMethod · 0.65
IndexMethod · 0.65
PutMethod · 0.45
WriteToMethod · 0.45
SumMethod · 0.45

Tested by 2

Test_hashSQLFunction · 0.68
BenchmarkHashSQLFunction · 0.68