# DiscoursePostEvent_EventsHostsByEvents List calendar events - Catalog: `Discourse` - Schema: `Events` 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 `DiscoursePostEvent_EventsHostsByEvents`. 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` | `` | ☐ | | Return events starting after this date/time (ISO 8601 format) | | `attending_user` | `` | ☐ | | Filter to events where the specified user (username) has RSVP'd as going | | `before` | `` | ☐ | | Return events starting before this date/time (ISO 8601 format) | | `category_id` | `` | ☐ | | Filter events by category ID | | `include_card` | `` | ☐ | | Include card fields without detailed event HTML or statistics (Values: true, false) | | `include_details` | `` | ☐ | | Include detailed event information (creator, invitees, stats, etc.) (Values: true, false) | | `include_subcategories` | `` | ☐ | | Include events from subcategories when filtering by category (Values: true, false) | | `limit` | `` | ☐ | | Maximum number of events to return (default: 200) | | `order` | `` | ☐ | | Sort order for events by start date (default: asc) (Values: asc, desc) | | `post_id` | `` | ☐ | | Filter to events associated with a specific post ID | | `search` | `` | ☐ | | Search event names, descriptions, and locations | | `status` | `` | ☐ | | Filter by event attendance status (Values: public, private, standalone) | ## Columns of Table Function The columns of the table function `DiscoursePostEvent_EventsHostsByEvents` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `all_day` | `char` | | ☐ | | | `at_capacity` | `char` | | ☐ | | | `avatar_template` | `varchar2` | Avatar Template | ☐ | | | `can_act_on_discourse_post_event` | `char` | | ☐ | | | `can_update_attendance` | `char` | | ☐ | | | `category_id` | `int64` | Category ID | ☐ | | | `channel` | `varchar2` | | ☐ | The JSON text of the nested object. | | `chat_enabled` | `char` | | ☐ | | | `creator_avatar_template` | `varchar2` | | ☐ | | | `creator_id` | `int64` | | ☐ | | | `creator_name` | `varchar2` | | ☐ | | | `creator_username` | `varchar2` | | ☐ | | | `custom_fields` | `varchar2` | | ☐ | The JSON text of the nested object. | | `description_html` | `varchar2` | | ☐ | | | `description` | `varchar2` | Description | ☐ | | | `duration` | `varchar2` | Duration | ☐ | | | `ends_at` | `datetime` | | ☐ | | | `id_2` | `int64` | ID 2 | ☐ | | | `id` | `int64` | ID | ☐ | | | `image_upload` | `varchar2` | | ☐ | The JSON text of the nested object. | | `is_closed` | `char` | | ☐ | | | `is_expired` | `char` | | ☐ | | | `is_ongoing` | `char` | | ☐ | | | `is_private` | `char` | | ☐ | | | `is_public` | `char` | | ☐ | | | `is_standalone` | `char` | | ☐ | | | `is_zoom_livestream` | `char` | | ☐ | | | `livestream_onebox` | `varchar2` | | ☐ | | | `livestream` | `char` | | ☐ | | | `location` | `varchar2` | | ☐ | | | `max_attendees` | `int64` | | ☐ | | | `minimal` | `char` | | ☐ | | | `name_2` | `varchar2` | | ☐ | | | `name` | `varchar2` | Name | ☐ | | | `post_category_slug` | `varchar2` | | ☐ | | | `post_id` | `int64` | Post ID | ☐ | | | `post_post_number` | `int64` | | ☐ | | | `post_topic_id` | `int64` | | ☐ | | | `post_topic_slug` | `varchar2` | | ☐ | | | `post_topic_tags_descriptions` | `varchar2` | | ☐ | | | `post_topic_title` | `varchar2` | | ☐ | | | `post_url` | `varchar2` | | ☐ | | | `recording_onebox` | `varchar2` | | ☐ | | | `recording_url` | `varchar2` | | ☐ | | | `recurrence_until` | `datetime` | | ☐ | | | `recurrence` | `varchar2` | | ☐ | | | `rrule` | `varchar2` | | ☐ | | | `should_display_invitees` | `char` | | ☐ | | | `show_local_time` | `char` | | ☐ | | | `starts_at` | `datetime` | | ☐ | | | `stats` | `varchar2` | | ☐ | The JSON text of the nested object. | | `status` | `varchar2` | Status | ☐ | | | `timezone` | `varchar2` | | ☐ | | | `title` | `varchar2` | Title | ☐ | | | `url_restates_location` | `char` | | ☐ | | | `url` | `varchar2` | URL | ☐ | | | `username` | `varchar2` | User Name | ☐ | | | `watching_invitee` | `varchar2` | | ☐ | The JSON text of the nested object. |