You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The auto-increment feature can be set to any INTEGER or UNSIGNED
field of PRIMARY KEY using one of two ways:
AUTOINCREMENT in column definition:
CREATE TABLE t (i INT, a INT AUTOINCREMENT, PRIMARY KEY (i, a));
CREATE TABLE t (i INT AUTOINCREMENT, a INT, PRIMARY KEY (i, a));
AUTOINCREMENT in PRIMARY KEY definition:
CREATE TABLE t (i INT, a INT, PRIMARY KEY (i, a AUTOINCREMENT));
CREATE TABLE t (i INT, a INT, PRIMARY KEY (i AUTOINCREMENT, a));
Requested by @ImeevMA in tarantool/tarantool@08c7d7c.
The text was updated successfully, but these errors were encountered:
lenkis
added
2.3
feature
A new functionality
reference
[location] Tarantool manual, Reference part
server
[area] Task relates to Tarantool's server (core) functionality
sql
[location] SQL manual
and removed
reference
[location] Tarantool manual, Reference part
server
[area] Task relates to Tarantool's server (core) functionality
labels
Oct 15, 2019
Do we have the description of this feature in our 2.3 documentation? 08c7d7c commit that closes the feature ticket gh-4217 is in the 2.3.1 release scope already.
The auto-increment feature can be set to any INTEGER or UNSIGNED
field of PRIMARY KEY using one of two ways:
CREATE TABLE t (i INT, a INT AUTOINCREMENT, PRIMARY KEY (i, a));
CREATE TABLE t (i INT AUTOINCREMENT, a INT, PRIMARY KEY (i, a));
CREATE TABLE t (i INT, a INT, PRIMARY KEY (i, a AUTOINCREMENT));
CREATE TABLE t (i INT, a INT, PRIMARY KEY (i AUTOINCREMENT, a));
Requested by @ImeevMA in tarantool/tarantool@08c7d7c.
The text was updated successfully, but these errors were encountered: