YaoApp / xun

Xun Database is an object-relational mapper (ORM), can change the table structure at run time, especially suitable for use in Low-Code application.

Home Page:https://yaoapps.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect cursor index when migrating with Postgres

cebrains opened this issue · comments

func (quoter *Quoter) Parameter(value interface{}, num int) string {

FYI:

SQL:

time="_______" level=debug msg="insert into "xiang_user" ("extra", "email", "password", "key", "name", "type", "status", "created_at", "secret", "mobile") values ($1,$2,$3,$4,$5,$6,$7,CURRENT_TIMESTAMP,$9,$10) returning "id"" bindings="[{"sex":"男"} xiang@iqka.com $2a$04$IUZnaAm8YhmUi2nKbVr28ORks0uIfXoyIfATm1ecUhWXn8bmDdGbe 8304925176 管理员 admin enabled XMTdNRVigbgUiAPdiJCfaWgWcz2PaQXw ]"

Log:

pq: could not determine data type of parameter $8