File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ export class DuckDBAppender {
27
27
public endRow ( ) {
28
28
duckdb . appender_end_row ( this . appender ) ;
29
29
}
30
+ public appendDefault ( ) {
31
+ duckdb . append_default ( this . appender ) ;
32
+ }
30
33
public appendBoolean ( value : boolean ) {
31
34
duckdb . append_bool ( this . appender , value ) ;
32
35
}
Original file line number Diff line number Diff line change @@ -139,6 +139,12 @@ export class DuckDBLogicalType {
139
139
public get typeId ( ) : DuckDBTypeId {
140
140
return duckdb . get_type_id ( this . logical_type ) as number as DuckDBTypeId ;
141
141
}
142
+ public get alias ( ) : string | null {
143
+ return duckdb . logical_type_get_alias ( this . logical_type ) ;
144
+ }
145
+ public set alias ( newAlias : string ) {
146
+ duckdb . logical_type_set_alias ( this . logical_type , newAlias ) ;
147
+ }
142
148
public asType ( ) : DuckDBType {
143
149
switch ( this . typeId ) {
144
150
case DuckDBTypeId . BOOLEAN :
You can’t perform that action at this time.
0 commit comments