# t_Post_streamPostsActions_summaryById Get a single topic - Catalog: `Discourse` - Schema: `Topics` This is a read-only table function. The Discourse API may not support changing the data or the Invantive UniversalSQL driver for Discourse does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Discourse API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `t_Post_streamPostsActions_summaryById`. 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` | `` | ☑ | | | | `print` | `` | ☐ | | Will return up to 1000 posts in a topic | ## Columns of Table Function The columns of the table function `t_Post_streamPostsActions_summaryById` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `admin` | `char` | Administrator | ☐ | | | `archetype` | `varchar2` | Archetype | ☐ | | | `archived` | `char` | Archived | ☐ | | | `avatar_template` | `varchar2` | Avatar Template | ☐ | | | `avg_time` | `varchar2` | | ☐ | | | `bookmarked` | `varchar2` | Bookmarked | ☐ | | | `can_delete` | `char` | Can Delete | ☐ | | | `can_edit` | `char` | Can Edit | ☐ | | | `can_recover` | `char` | Can Recover | ☐ | | | `can_view_edit_history` | `char` | Can View Edit History | ☐ | | | `can_wiki` | `char` | Can Wikify | ☐ | | | `category_id` | `decimal` | Category ID | ☐ | | | `chunk_size` | `decimal` | Chunk Size | ☐ | | | `closed` | `char` | Closed | ☐ | | | `cooked` | `varchar2` | Cooked | ☐ | | | `created_at_2` | `varchar2` | | ☐ | | | `created_at` | `varchar2` | Created at | ☐ | | | `deleted_at_2` | `varchar2` | | ☐ | | | `deleted_at` | `varchar2` | | ☐ | | | `deleted_by` | `varchar2` | | ☐ | | | `details_auto_close_at` | `varchar2` | | ☐ | | | `details_auto_close_based_on_last_post` | `char` | Detail Auto Close Based On Last Post | ☐ | | | `details_auto_close_hours` | `varchar2` | | ☐ | | | `details_can_flag_topic` | `char` | Detail Can Flag Topic | ☐ | | | `details_created_by_avatar_template` | `varchar2` | Detail Created by Avatar Template | ☐ | | | `details_created_by_id` | `decimal` | Detail Created by ID | ☐ | | | `details_created_by_username` | `varchar2` | Detail Created by User Name | ☐ | | | `details_last_poster_avatar_template` | `varchar2` | Detail Last Poster Avatar Template | ☐ | | | `details_last_poster_id` | `decimal` | Detail Last Poster ID | ☐ | | | `details_last_poster_username` | `varchar2` | Detail Last Poster User Name | ☐ | | | `details_notification_level` | `decimal` | Detail Notification Level | ☐ | | | `display_username` | `varchar2` | Display User Name | ☐ | | | `draft_key` | `varchar2` | Draft Key | ☐ | | | `draft_sequence` | `varchar2` | Draft Sequence | ☐ | | | `draft` | `varchar2` | Draft | ☐ | | | `edit_reason` | `varchar2` | | ☐ | | | `fancy_title` | `varchar2` | Fancy Title | ☐ | | | `has_summary` | `char` | Has Summary | ☐ | | | `hidden_reason_id` | `varchar2` | | ☐ | | | `hidden` | `char` | Hidden | ☐ | | | `highest_post_number` | `decimal` | Highest Post Number | ☐ | | | `id_2` | `decimal` | ID 2 | ☐ | | | `id` | `decimal` | ID | ☐ | | | `incoming_link_count` | `decimal` | #Incoming Links | ☐ | | | `last_posted_at` | `varchar2` | Last Posted at | ☐ | | | `like_count` | `decimal` | #Likes | ☐ | | | `moderator` | `char` | Moderator | ☐ | | | `name` | `varchar2` | Name | ☐ | | | `participant_count` | `decimal` | Participant Count | ☐ | | | `pinned_at` | `varchar2` | Pinned at | ☐ | | | `pinned_globally` | `char` | Pinned Globally | ☐ | | | `pinned_until` | `varchar2` | | ☐ | | | `pinned` | `char` | Pinned | ☐ | | | `polls_poll_name` | `varchar2` | Poll Name | ☐ | | | `polls_poll_status` | `varchar2` | Poll Status | ☐ | | | `polls_poll_type` | `varchar2` | Poll Type | ☐ | | | `polls_poll_voters` | `int64` | Poll Voters | ☐ | | | `post_number` | `decimal` | Post Number | ☐ | | | `post_type` | `decimal` | Post Type | ☐ | | | `posts_count` | `decimal` | #Posts | ☐ | | | `primary_group_flair_bg_color` | `varchar2` | | ☐ | | | `primary_group_flair_color` | `varchar2` | | ☐ | | | `primary_group_flair_url` | `varchar2` | | ☐ | | | `primary_group_name` | `varchar2` | | ☐ | | | `quote_count` | `decimal` | #Quotes | ☐ | | | `read` | `char` | Read | ☐ | | | `reads` | `decimal` | #Reads | ☐ | | | `reply_count_2` | `decimal` | | ☐ | | | `reply_count` | `decimal` | #Replies | ☐ | | | `reply_to_post_number` | `varchar2` | | ☐ | | | `score` | `decimal` | Score | ☐ | | | `slug` | `varchar2` | Slug | ☐ | | | `staff` | `char` | Staff | ☐ | | | `title` | `varchar2` | Title | ☐ | | | `topic_id` | `decimal` | Topic ID | ☐ | | | `topic_slug` | `varchar2` | Topic Slug | ☐ | | | `trust_level` | `decimal` | Trust Level | ☐ | | | `unpinned` | `varchar2` | Unpinned | ☐ | | | `updated_at` | `varchar2` | Updated at | ☐ | | | `user_deleted` | `char` | User Deleted | ☐ | | | `user_id_2` | `decimal` | | ☐ | | | `user_id` | `decimal` | User ID | ☐ | | | `user_title` | `varchar2` | | ☐ | | | `username` | `varchar2` | User Name | ☐ | | | `version` | `decimal` | Version | ☐ | | | `views` | `decimal` | Views | ☐ | | | `visible` | `char` | Visible | ☐ | | | `wiki` | `char` | Wiki | ☐ | | | `word_count` | `varchar2` | | ☐ | | | `yours` | `char` | Yours | ☐ | |