-
macos [go1.16.6 darwin/amd64] 编译后运行会报错:
```
[Andex-INFO] [0906-084429] DEBUG 模式已打开
[Andex-INFO] [0906-084429] can't find .conf/ path for save db and config
[xorm] [info] 2021/09/06 08:44:29.76985…
-
A bug with a solution here.
Suddenly gogs just stopped running for me. Seems it was related to mariadb upgrading on my server to 10.5. gogs was crashing with
```
[FATAL] [...gs/routes/install.go:…
-
```
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x648e82]
goroutine 1 [running]:
...github.com/go-xorm/xo…
-
有没有计划支持iris和xorm框架吗?
arden updated
5 years ago
-
https://momo733.com/2019/06/13/attention-with-gorm/
golang的orm框架比较流行的是gorm和xorm,gorm的封装对比于xorm来说更加完善,使用不当一不小心就能使你的服务性能下降很多,本文主要说些你使用过程中需要注意的地方。 1.指定数据类型大小gorm相当便利,你只需要建立所需要的结构,使用db.CreateTable(mode…
-
I'm using reverse function on MSSQL database, and get error on NCHAR
```
>xorm reverse mssql "server=XXX;user id=XXX;password=XXX;database=XXX" templates/goxorm
2018/05/04 14:58:29 [Error] reve…
-
### Discussed in https://github.com/grafana/grafana/discussions/51481
Originally posted by **niranjanpai** June 13, 2017
Grafana currently supports mysql, sqllite and postgres as backend datab…
-
**代码示例**
results, err := db.Exec("insert into `task_record` (jobName,keyId,createdTime) VALUES(?,?,?)","UserNewIncJob","DXJ90S7v4CUb8c0FOh10",1595602706)
fmt.Println(results, err,"-----------------…
-
按照文档集成之后,每次操作数据库都会在看到xorm的warning日志,如下:
````
[xorm] [warn] 2017/03/24 09:18:08.938128 table lc_user's column id is not valid or cannot set
[xorm] [warn] 2017/03/24 09:18:08.938140 table lc_user's…
-
The following was created by casbin-dashboard in Postgres:
```
casbin=# select * from casbin_rule;
p_type | v0 | v1 | v2 | v3 | v4 | v5
--------+-------+-------+-------+----+----+----
…