penghuazhou edited a comment on issue #13089:
URL:
https://github.com/apache/shardingsphere/issues/13089#issuecomment-945698622
@TeslaCN
when will you fixed it ? Do you will add it to 5.0.0-RC1?
import (
"fmt"
"gorm.io/driver/postgres"
"gorm.io/gorm"
"testing"
)
func TestShardingSphere(t *testing.T) {
dsn := "host=127.0.0.1 user=sharding password=sharding
dbname=sharding_db port=3307 sslmode=disable TimeZone=Asia/Shanghai"
db, err := gorm.Open(postgres.Open(dsn), &gorm.Config{})
if err != nil {
fmt.Println(err)
return
}
var info string
err2 := db.Debug().Raw("select info from t_order where order_id = ? and
user_id = ?", 1206921609, 81031208).Scan(&info).Error
if err2 != nil {
fmt.Println(err2)
return
}
}

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]