TablesDraft: HubSpot Tables (Draft) |
Return all draft tablesReturns the details for each draft table defined in the specified account, including column definitions.
Catalog: Hubdb3
Schema: Tables
Label: Tables (Draft)
This is a read-only table function. The HubSpot API may not support changing the data or the Invantive UniversalSQL driver for HubSpot does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the HubSpot API.
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function TablesDraft. 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 |
---|---|---|---|---|
after |
string |
☐ |
|
The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results. |
archived |
boolean |
☐ |
|
Specifies whether to return archived tables. Defaults to `false`. |
contentType |
string |
☐ |
|
|
createdAfter |
datetime |
☐ |
|
Only return tables created after the specified time. |
createdAt |
datetime |
☐ |
|
Only return tables created at exactly the specified time. |
createdBefore |
datetime |
☐ |
|
Only return tables created before the specified time. |
updatedAfter |
datetime |
☐ |
|
Only return tables last updated after the specified time. |
updatedAt |
datetime |
☐ |
|
Only return tables last updated at exactly the specified time. |
updatedBefore |
datetime |
☐ |
|
Only return tables last updated before the specified time. |
Columns of Table Function
The columns of the table function TablesDraft are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
allowChildTables |
boolean |
Allow Child Tables |
☐ |
Specifies whether child tables can be created |
allowPublicApiAccess |
boolean |
Allow Public API Access |
☐ |
Specifies whether the table can be read by public without authorization |
columnCount |
int32 |
Column Count |
☐ |
Number of columns including deleted |
createdAt |
datetime |
Created at |
☐ |
Timestamp at which the table is created |
createdBy_email |
string |
Created by Email |
☐ |
|
createdBy_firstName |
string |
Created by First Name |
☐ |
|
createdBy_id |
string |
Created by ID |
☐ |
|
createdBy_lastName |
string |
Created by Last Name |
☐ |
|
deleted |
boolean |
Deleted |
☐ |
|
dynamicMetaTags |
string |
Dynamic Meta Tags |
☐ |
Specifies the key value pairs of the [metadata fields](https://developers.hubspot.com/docs/cms/guides/dynamic-pages/hubdb#dynamic-pages) with the associated column IDs. |
enableChildTablePages |
boolean |
Enable Child Table Pages |
☐ |
Specifies creation of multi-level dynamic pages using child tables |
id |
string |
ID |
☐ |
Id of the table |
isOrderedManually |
boolean |
Is Ordered Manually |
☐ |
|
label |
string |
Label |
☐ |
Label of the table |
name |
string |
Name |
☐ |
Name of the table |
published |
boolean |
Published |
☐ |
|
publishedAt |
datetime |
Published at |
☐ |
Timestamp at which the table is published recently |
rowCount |
int32 |
Row Count |
☐ |
Number of rows in the table |
updatedAt |
datetime |
Updated at |
☐ |
Timestamp at which the table is updated recently |
updatedBy_email |
string |
Updated by Email |
☐ |
|
updatedBy_firstName |
string |
Updated by First Name |
☐ |
|
updatedBy_id |
string |
Updated by ID |
☐ |
|
updatedBy_lastName |
string |
Updated by Last Name |
☐ |
|
useForPages |
boolean |
Use for Pages |
☐ |
Specifies whether the table can be used for creation of dynamic pages |
18-12-2024 20:09 Version 24.1.33-BETA+5180