Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ots2版本如何实现主键列自增 #7

Open
weyenrooney opened this issue Jan 16, 2017 · 2 comments
Open

ots2版本如何实现主键列自增 #7

weyenrooney opened this issue Jan 16, 2017 · 2 comments

Comments

@weyenrooney
Copy link

ots2版本如何实现主键列自增
类似java版本
java中的写法是这样的 // 第三列为消息ID,自动自增列,类型为INTEGER,属性为PKO_AUTO_INCREMENT
tableMeta.addPrimaryKeyColumn(new PrimaryKeySchema("message_id", PrimaryKeyType.INTEGER, PrimaryKeyOption.AUTO_INCREMENT));

@JacksonTian
Copy link
Contributor

还没看到最新的ProtoBuff协议,没法实现。

@Daky
Copy link

Daky commented Feb 11, 2017

剛好需要使用到....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants