⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 8 of about 8 for members (0.007 sec.)
Union Type 13754
A UNION type (not to be confused with the SQL UNION operator ) is a nested type capable of holding one of multiple “alternative” values, much like the union in C. The main difference is that these UNION types are tagged unions and thus alwa ... resent in most functional languages. UNION types must always have at least one member, and while they can contain multiple members of the same type, the tag names must be unique. UNION types can have at most 255 members. Under the hood, UNION types are ... implicitly cast to a UNION containing the type. Any UNION can also be implicitly cast to another UNION if the source UNION members are a subset of the target's (if the cast is unambiguous). UNION uses the member types' VARCHAR cast functions when castin ... g to VARCHAR : SELECT u FROM tbl1; u 1 two three Select all the str members: SELECT union_extract(u, 'str') AS str FROM tbl1; str NULL two three Alternatively, you can use 'dot syntax' similarly to ...
https://man.mtool.work/duckdb/2.0/sql/data_types/union.html
Types 9055
DuckDB is a strongly typed database system. As such, every column has a single type specified. This type is constant over the entire column. That is to say, a column that is labeled as an INTEGER column will only contain INTEGER values. Duc ... member_types : The array of union member types. member_names : The union member names. member_count : The number of union members. Return Value The logical type. duckdb_create_struct_type Creates a STRUCT type based on the member types and names. The r ... mber_types , const char ** member_names , idx_t member_count ); Parameters member_types : The array of types of the struct members. member_names : The array of names of the struct members. member_count : The number of members of the struct. Return Value ... the struct type. Must be destroyed with duckdb_destroy_logical_type . duckdb_union_type_member_count Returns the number of members that the union type has. Syntax idx_t duckdb_union_type_member_count ( duckdb_logical_type type ); Parameters type : The l ...
https://man.mtool.work/duckdb/2.0/clients/c/types.html
Complete API 8296
This page contains the reference for DuckDB's C API. The reference contains several deprecation notices. These concern methods whose long-term availability is not guaranteed as they may be removed in the future. That said, DuckDB's develope ... member_types : The array of union member types. member_names : The union member names. member_count : The number of union members. Return Value The logical type. duckdb_create_struct_type Creates a STRUCT type based on the member types and names. The r ... mber_types , const char ** member_names , idx_t member_count ); Parameters member_types : The array of types of the struct members. member_names : The array of names of the struct members. member_count : The number of members of the struct. Return Value ... the struct type. Must be destroyed with duckdb_destroy_logical_type . duckdb_union_type_member_count Returns the number of members that the union type has. Syntax idx_t duckdb_union_type_member_count ( duckdb_logical_type type ); Parameters type : The l ...
https://man.mtool.work/duckdb/2.0/clients/c/api.html
Python Client API 8296
Connection class duckdb. Appender Bases: object append_row ( self , * args ) → None Buffer one row, one value per column, each converted as an executemany parameter would be append_rows ( self , rows : object ) → None Buffer each row of an ... ype_str : str ) → _duckdb._sqltypes.DuckDBPyType Create a type object by parsing the ‘type_str' string union_type ( self , members : object ) → _duckdb._sqltypes.DuckDBPyType Create a union type object from ‘members' unregister ( self , view_name : str ... ( ) → Expression Whether this is NULL. Not the same as == None , which gives NULL. isin ( * values : object ) → Expression Membership of several values, as isin(1, 2) , the form of the earlier expression API. One argument is one member, so a list given ... None = None ) → _duckdb._sqltypes.DuckDBPyType Create a type object by parsing the ‘type_str' string duckdb. union_type ( members : object , * , connection : _duckdb.DuckDBPyConnection | None = None ) → _duckdb._sqltypes.DuckDBPyType Create a union typ ...
https://man.mtool.work/duckdb/2.0/clients/python/reference/
Map Type 8296
MAP s are similar to STRUCT s in that they are an ordered list of key-value pairs. However, MAP s do not need to have the same keys present for each row, and thus are suitable for use cases where the schema is unknown beforehand or varies p ... comparison rules: comparing a NULL nested value to a non- NULL nested value produces a NULL result. Comparing nested value members , however, uses the internal nested value rules for NULL s, and a NULL nested value member will compare above a non- NULL ...
https://man.mtool.work/duckdb/2.0/sql/data_types/map.html
Types API 8241
The DuckDBPyType class, duckdb.sqltypes.DuckDBPyType , represents one of the data types . Use DuckDBPyType to describe SQL types when declaring function parameters, return types or casts. Python types such as int are accepted too: int descr ... e Parameters: width: int scale: int A DECIMAL has a width of 1 to 38 and a scale of 0 to the width. union_type Parameters: members: Union[list[DuckDBPyType], dict[str, DuckDBPyType]] string_type Parameters: collation: str , by default "" enum_type enum_ ...
https://man.mtool.work/duckdb/2.0/clients/python/types.html
Extensions 8169
DuckDB has a flexible extension mechanism that allows for dynamically loading extensions. Extensions can enhance DuckDB's functionality by providing support for additional file formats, introducing new types, and domain-specific functionali ... install the tarfs community extension via: INSTALL tarfs FROM community; Community extensions are contributed by community members but they are built, signed , and distributed in a centralized repository. Updating Extensions While built-in extensions ar ...
https://man.mtool.work/duckdb/2.0/extensions/overview.html
Unnesting 8097
Unnesting is an operation that decomposes values of a composite types into its components. Values of the LIST and STRUCT type may be unnested using the unnest() function . Unnesting turns a LIST -typed value into a table column: each list-e ... sed as true . keep_parent_names : BOOLEAN , default: false . Whether to create column names using the keys of all ancestor members. This argument is applicable only when unnesting STRUCT -values. Note that recursive unnesting always respects the type of ...
https://man.mtool.work/duckdb/2.0/sql/query_syntax/unnest.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work