discussion_forum_topics_by_id: Freshdesk Discussion Forum Topics |
Catalog: Freshdesk
Schema: Freshdesk
Primary Keys: id
Label: Discussion Forum Topics
This is a read-only table function. The Freshdesk API may not support changing the data or the Invantive UniversalSQL driver for Freshdesk does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Freshdesk API.
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function discussion_forum_topics_by_id. 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 |
|---|---|---|---|---|
id |
|
☑ |
|
|
Columns of Table Function
The columns of the table function discussion_forum_topics_by_id are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
|---|---|---|---|---|
body_html |
varchar2 |
Body (HTML) |
☐ |
Message body of the topic. |
comment_count |
int64 |
Comment Count |
☐ |
|
created_at |
datetime |
Created at |
☐ |
Date/time at which the record was created. |
forum_id |
int64 |
Forum ID |
☐ |
ID of the containing forum. |
hits |
int64 |
Hits |
☐ |
Number of views of the topic. |
id |
int64 |
ID |
☐ |
Unique ID of the topic. |
last_post_id |
int64 |
Last Post ID |
☐ |
ID of the latest comment on the topic. |
locked |
char |
Locked |
☐ |
Whether the topic has been locked. |
merged_topic_id |
int64 |
Merged Topic ID |
☐ |
|
posts_count |
int64 |
Posts Count |
☐ |
Number of posts in the topic. |
published |
char |
Published |
☐ |
|
replied_at |
datetime |
Replied at |
☐ |
Timestamp of the latest comment made in the topic. |
replied_by |
int64 |
Replied by |
☐ |
ID of the user who made the latest comment in the topic. |
stamp_type |
int64 |
Stamp Type |
☐ |
|
sticky |
char |
Sticky |
☐ |
Whether the topic should stay on top of the forum for additional visibility. |
title |
varchar2 |
Title |
☐ |
Title of the topic. |
updated_at |
datetime |
Updated at |
☐ |
Date/time at which the record was last updated. |
user_id |
int64 |
User ID |
☐ |
ID of the user. |
user_votes |
int64 |
User Votes |
☐ |
Number of votes in the topic. |