From 312071ecd2a84dba63041dfe877e47fc3b5d6d90 Mon Sep 17 00:00:00 2001 From: Zodial Date: Tue, 28 Feb 2023 15:37:00 +0800 Subject: [PATCH] fixed: mongo uint64 --- console/commands/js_request.go | 1 - console/commands/mongo.go | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/console/commands/js_request.go b/console/commands/js_request.go index 09eef56..22ec807 100644 --- a/console/commands/js_request.go +++ b/console/commands/js_request.go @@ -157,7 +157,6 @@ export async function %v%v(%v) { } } } - fmt.Println(out) _ = os.WriteFile(out, []byte(str), 0766) } diff --git a/console/commands/mongo.go b/console/commands/mongo.go index 5b7dad2..150597f 100644 --- a/console/commands/mongo.go +++ b/console/commands/mongo.go @@ -229,6 +229,7 @@ func genWhere(tableName string, columns []parser.Attr) string { "int32": 1, "uint32": 1, "int64": 1, + "uint64": 1, "float32": 1, "float64": 1, "string": 1,