Helper function for converting a uint64 to a string suitable for SQL.
(b encoding2.BinaryWriter, num uint64)
| 553 | |
| 554 | // Helper function for converting a uint64 to a string suitable for SQL. |
| 555 | func Uint64EncodeSql(b encoding2.BinaryWriter, num uint64) { |
| 556 | numVal, _ := BuildValue(num) |
| 557 | numVal.EncodeSql(b) |
| 558 | } |
| 559 | |
| 560 | // SqlEncodeMap specifies how to escape binary data with '\'. |
| 561 | // Complies to http://dev.mysql.com/doc/refman/5.1/en/string-syntax.html |
nothing calls this directly
no test coverage detected