Skip to content

Commit

Permalink
Mention Marshaler in ?sql doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mibk committed Sep 12, 2018
1 parent 8e997bc commit 1508d31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ some additional placeholders. The complete list is:
INSERT clause
?ident used for identifiers (column or table name)
?ident... expands identifiers and separates them with a comma
?sql inserts the parameter as is (meant for SQL parts)
?sql inserts the parameter, a string or Marshaler, as is (meant for SQL parts)
```
Using the placeholders it is easy and quite expressive to write common SQL queries, but it is
Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
// INSERT clause
// ?ident used for identifiers (column or table name)
// ?ident... expands identifiers and separates them with a comma
// ?sql inserts the parameter as is (meant for SQL parts)
// ?sql inserts the parameter, a string or Marshaler, as is (meant for SQL parts)
//
// Prepared statements
//
Expand Down

0 comments on commit 1508d31

Please sign in to comment.