Skip to content

Commit

Permalink
perf👌: toolkit
Browse files Browse the repository at this point in the history
  • Loading branch information
abulo committed Apr 16, 2024
1 parent 25fa389 commit a6c6695
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ require (
github.com/yosuke-furukawa/json5 v0.1.1
go.etcd.io/etcd/api/v3 v3.5.13
go.etcd.io/etcd/client/v3 v3.5.13
go.mongodb.org/mongo-driver v1.14.0
go.mongodb.org/mongo-driver v1.15.0
go.uber.org/multierr v1.11.0
golang.org/x/crypto v0.22.0
golang.org/x/image v0.15.0
golang.org/x/mod v0.17.0
golang.org/x/sync v0.7.0
golang.org/x/text v0.14.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda
google.golang.org/genproto/googleapis/rpc v0.0.0-20240412170617-26222e5d3d56
google.golang.org/grpc v1.63.2
google.golang.org/protobuf v1.33.0
gopkg.in/yaml.v2 v2.4.0
Expand Down
2 changes: 1 addition & 1 deletion toolkit/base/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func TablePrimary(ctx context.Context, DbName, TableName string) (Column, error)
dataType := NewDataType()
res.DataTypeMap = dataType[res.DataType]
res.PosiTion = 1
res.AlisaColumnName = TableName + "_id"
res.AlisaColumnName = "id"
}
return res, err
}

0 comments on commit a6c6695

Please sign in to comment.