Identity

class oci.nosql.models.Identity(**kwargs)

Bases: object

The identity properties of a table, if any.

Methods:

__init__(**kwargs)

Initializes a new Identity object with values from keyword arguments.

Attributes:

column_name

Gets the column_name of this Identity.

is_always

Gets the is_always of this Identity.

is_null

Gets the is_null of this Identity.

__init__(**kwargs)

Initializes a new Identity object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • column_name (str) – The value to assign to the column_name property of this Identity.

  • is_always (bool) – The value to assign to the is_always property of this Identity.

  • is_null (bool) – The value to assign to the is_null property of this Identity.

property column_name

Gets the column_name of this Identity. The name of the identity column.

Returns

The column_name of this Identity.

Return type

str

property is_always

Gets the is_always of this Identity. True if the identity value is GENERATED ALWAYS.

Returns

The is_always of this Identity.

Return type

bool

property is_null

Gets the is_null of this Identity. True if the identity value is GENERATED BY DEFAULT ON NULL.

Returns

The is_null of this Identity.

Return type

bool