ExecuteSqlResponseItemResultSet

class oci.database_tools_runtime.models.ExecuteSqlResponseItemResultSet(**kwargs)

Bases: object

Result set generated from the query.

Methods:

__init__(**kwargs)

Initializes a new ExecuteSqlResponseItemResultSet object with values from keyword arguments.

Attributes:

count

Gets the count of this ExecuteSqlResponseItemResultSet.

has_more

Gets the has_more of this ExecuteSqlResponseItemResultSet.

items

Gets the items of this ExecuteSqlResponseItemResultSet.

limit

Gets the limit of this ExecuteSqlResponseItemResultSet.

metadata

Gets the metadata of this ExecuteSqlResponseItemResultSet.

offset

Gets the offset of this ExecuteSqlResponseItemResultSet.

__init__(**kwargs)

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

Parameters
  • metadata (list[oci.database_tools_runtime.models.ExecuteSqlResponseItemResultSetMetadata]) – The value to assign to the metadata property of this ExecuteSqlResponseItemResultSet.

  • items (list[dict(str, object)]) – The value to assign to the items property of this ExecuteSqlResponseItemResultSet.

  • has_more (bool) – The value to assign to the has_more property of this ExecuteSqlResponseItemResultSet.

  • count (int) – The value to assign to the count property of this ExecuteSqlResponseItemResultSet.

  • offset (int) – The value to assign to the offset property of this ExecuteSqlResponseItemResultSet.

  • limit (int) – The value to assign to the limit property of this ExecuteSqlResponseItemResultSet.

property count

Gets the count of this ExecuteSqlResponseItemResultSet. The number of rows returned.

Returns

The count of this ExecuteSqlResponseItemResultSet.

Return type

int

property has_more

Gets the has_more of this ExecuteSqlResponseItemResultSet. Specifies whether the result set has more rows.

Returns

The has_more of this ExecuteSqlResponseItemResultSet.

Return type

bool

property items

Gets the items of this ExecuteSqlResponseItemResultSet. All rows in the result set.

Returns

The items of this ExecuteSqlResponseItemResultSet.

Return type

list[dict(str, object)]

property limit

Gets the limit of this ExecuteSqlResponseItemResultSet. Maximum number of rows returned from the query.

Returns

The limit of this ExecuteSqlResponseItemResultSet.

Return type

int

property metadata

Gets the metadata of this ExecuteSqlResponseItemResultSet. Metadata of the column.

Returns

The metadata of this ExecuteSqlResponseItemResultSet.

Return type

list[oci.database_tools_runtime.models.ExecuteSqlResponseItemResultSetMetadata]

property offset

Gets the offset of this ExecuteSqlResponseItemResultSet. The first row returned in the result set.

Returns

The offset of this ExecuteSqlResponseItemResultSet.

Return type

int