# Cards: Nextcloud Nextcloud Cards ## Documentation Cards of one board, across every one of its stacks, one row per card. Read-only for now. - Catalog: `Deck` - Schema: `Deck` - Primary Keys: `id` - Label: Nextcloud Cards This is a read-only table function. The Nextcloud API may not support changing the data or the Invantive UniversalSQL driver for Nextcloud does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Nextcloud API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `Cards`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values. Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three. Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third. | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `board_id` | `number` | ☐ | | Identifier of the board to list every stack's cards of. | ## Columns of Table Function The columns of the table function `Cards` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `archived` | `char` | | ☐ | Whether the card is archived. | | `attachment_count` | `int32` | | ☐ | Number of attachments on the card. | | `board_id` | `int64` | | ☐ | Identifier of the board the card belongs to, carried from its own stack. | | `comments_count` | `int32` | | ☐ | Number of comments on the card. | | `created_at` | `datetime` | | ☐ | Moment created (UTC). | | `deleted_at` | `datetime` | | ☐ | Moment deleted (UTC); empty while not deleted. | | `description` | `varchar2` | | ☐ | Description of the card, in Markdown. | | `done` | `datetime` | | ☐ | Moment marked done (UTC); empty while not done. | | `due_date` | `varchar2` | | ☐ | Due date of the card, as the platform answers it; empty when none is set. | | `id` | `int64` | | ☑ | Identifier of the card. | | `last_modified` | `datetime` | | ☐ | Moment last modified (UTC). | | `order_position` | `int32` | | ☐ | Position of the card among its stack's own cards. | | `owner_display_name` | `varchar2` | | ☐ | Display name of the card's own owner. | | `owner_uid` | `varchar2` | | ☐ | Login name of the card's own owner. | | `stack_id` | `int64` | | ☐ | Identifier of the stack the card belongs to. | | `title` | `varchar2` | | ☐ | Title of the card. | | `type` | `varchar2` | | ☐ | Type of the card content; text for every card measured so far. |