create_materialized_view
- create_materialized_view(
table_name: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<CreateMaterializedViewResponse>Parameters
- table_name: string
Name of the table to be created that is the top-level table of the materialized view, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria.
Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<CreateMaterializedViewResponse>
Promise<Types.CreateMaterializedViewResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:6157
- table_name: string
create_materialized_view_request
- create_materialized_view_request(
request: CreateMaterializedViewRequest,
callback?: GPUdbCallback,
): Promise<CreateMaterializedViewResponse>Initiates the process of creating a materialized view, reserving the view’s name to prevent other views or tables from being created with that name.
For materialized view details and examples, see Materialized Views.
The response contains
view_id, which is used to tag each subsequent operation (projection, union, aggregation, filter, or join) that will compose the view.Parameters
- request: CreateMaterializedViewRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<CreateMaterializedViewResponse>
Promise<Types.CreateMaterializedViewResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:6126
- request: CreateMaterializedViewRequest
Initiates the process of creating a materialized view, reserving the view’s name to prevent other views or tables from being created with that name.
For materialized view details and examples, see Materialized Views.
The response contains
view_id, which is used to tag each subsequent operation (projection, union, aggregation, filter, or join) that will compose the view.