All Products
Search
Document Center

Tablestore:PrimaryKeySchema

Last Updated:Dec 10, 2024

Specifies the configuration information about the primary key columns.

Data structure

message PrimaryKeySchema {
    required string name = 1;
    required PrimaryKeyType type = 2;
    optional PrimaryKeyOption option = 3; 
}

Parameter

Type

Required

Description

name

string

Yes

The name of the primary key column.

type

PrimaryKeyType

Yes

The type of the primary key column.

option

PrimaryKeyOption

No

The optional configurations of the primary key column.