InsertInto 导致被插入表主键断层 #1395
Unanswered
CharlesFangKang
asked this question in
Q&A
Replies: 1 comment
-
看执行语句,输出一下sql丢navicat执行一下。按道理不关freesql的事情 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
各位大神
在使用下面方法批量插入时出现 被插入表自增字段出现断层
被插入表主键从101~105开始缺失,是不是InsertInto不支持MySql?
var resulr = freeSql.Select().Limit(10).InsertInto(null, a => new Topic2 { Clicks = a.Clicks, Title = a.Title, CreateTime = a.CreateTime });
91 92 93 94 95 96 97 98 99 100
106 107 108 109 110 111 112 113 114 115
Beta Was this translation helpful? Give feedback.
All reactions