mirror of
https://github.com/documize/community.git
synced 2025-08-01 19:45:24 +02:00
Add comments
This commit is contained in:
parent
5d632712e0
commit
c152d029f2
2 changed files with 3 additions and 4 deletions
|
@ -26,9 +26,9 @@ type Context struct {
|
|||
|
||||
// Bind selects query parameter placeholder for given database provider.
|
||||
//
|
||||
// MySQL uses ?, ?, ? (default for all Documize queries)
|
||||
// PostgreSQL uses $1, $2, $3
|
||||
// MS SQL Server uses @p1, @p2, @p3
|
||||
// MySQL uses ?, ?, ? (default for all Documize queries).``
|
||||
// PostgreSQL uses $1, $2, $3.
|
||||
// MS SQL Server uses @p1, @p2, @p3.
|
||||
func (c *Context) Bind(sql string) string {
|
||||
// Default to MySQL.
|
||||
bindParam := sqlx.QUESTION
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue