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

Method WithQueryBuilder

sql/dml/connection.go:1079–1081  ·  view source on GitHub ↗

WithQueryBuilder creates a new DBR for handling the arguments with the assigned connection and builds the SQL string. The returned arguments and errors of the QueryBuilder will be forwarded to the DBR type. It generates a unique cache key based on the SQL string. The cache key can be retrieved via D

(qb QueryBuilder, opts ...DBRFunc)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 1

initDBRQBMethod · 0.80