Documentation ¶
Overview ¶
Package translate implements translation of driver specific SQL queries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTranslatingExecutor ¶
func NewTranslatingExecutor(exec gorp.SqlExecutor, translate func(string) string) gorp.SqlExecutor
NewTranslatingExecutor returns an executor wrapping the existing executor. All query strings passed to the executor will be run through the translate function before begin passed to the driver.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.