replaced the UUIDToBin functions with a singular UUID_TO_BIN
This commit is contained in:
parent
09fe45b09c
commit
33ec120437
4 changed files with 17 additions and 22 deletions
11
mysql/functions_test.go
Normal file
11
mysql/functions_test.go
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
package mysql
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
func TestUUIDToBin(t *testing.T) {
|
||||
assertSerialize(t, UUID_TO_BIN(String(uuid.Nil.String())), `uuid_to_bin(?)`, uuid.Nil.String())
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue