create_join_table
- create_join_table(
join_table_name: string,
table_names: string[],
column_names: string[],
expressions?: string[],
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<CreateJoinTableResponse>Parameters
- join_table_name: string
Name of the join table to be created, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria.
- table_names: string[]
The list of table names composing the join, each in [schema_name.]table_name format, using standard name resolution rules. Corresponds to a SQL statement FROM clause.
- column_names: string[]
List of member table columns or column expressions to be included in the join. Columns can be prefixed with ‘table_id.column_name’, where ‘table_id’ is the table name or alias. Columns can be aliased via the syntax ‘column_name as alias’. Wild cards '' can be used to include all columns across member tables or ‘table_id.’ for all of a single table’s columns. Columns and column expressions composing the join must be uniquely named or aliased—therefore, the ’*’ wild card cannot be used if column names aren’t unique across all tables.
Optionalexpressions: string[]An optional list of expressions to combine and filter the joined tables. Corresponds to a SQL statement WHERE clause. For details see: expressions.
Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<CreateJoinTableResponse>
Promise<Types.CreateJoinTableResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:6089
- join_table_name: string
create_join_table_request
- create_join_table_request(
request: CreateJoinTableRequest,
callback?: GPUdbCallback,
): Promise<CreateJoinTableResponse>Creates a table that is the result of a SQL JOIN.
For join details and examples see: Joins. For limitations, see Join Limitations and Cautions.
Parameters
- request: CreateJoinTableRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<CreateJoinTableResponse>
Promise<Types.CreateJoinTableResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:6057
- request: CreateJoinTableRequest
Creates a table that is the result of a SQL JOIN.
For join details and examples see: Joins. For limitations, see Join Limitations and Cautions.