replaced the UUIDToBin functions with a singular UUID_TO_BIN

This commit is contained in:
Jay 2024-02-22 17:23:14 +05:30
parent 09fe45b09c
commit 33ec120437
4 changed files with 17 additions and 22 deletions

11
mysql/functions_test.go Normal file
View 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())
}