文件dialect_sqlite3.go 中的函数GetColumns 返回的colSeq 中的最后一个元素是空字符串 #2122

Open
opened 2022-03-19 02:49:59 +00:00 by yhc4gitea · 1 comment

文件dialect_sqlite3.go 中的函数GetColumns 返回的colSeq 中的最后一个元素是空字符串
其它数据库未测试

		colSeq, _, _ := engine.Dialect().GetColumns(engine.DB(), context.Background(), tblname)
		fmt.Printf("len: %v \ncolSeq: %v\n",len(colSeq), colSeq)
文件dialect_sqlite3.go 中的函数GetColumns 返回的colSeq 中的最后一个元素是空字符串 其它数据库未测试 ``` colSeq, _, _ := engine.Dialect().GetColumns(engine.DB(), context.Background(), tblname) fmt.Printf("len: %v \ncolSeq: %v\n",len(colSeq), colSeq) ```
Author

1647658302(1)

![1647658302(1)](/attachments/d27c5ab6-91fe-4d6d-a0e5-88fb0831ffdb)
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#2122
No description provided.