Replies: 5 comments 1 reply
-
|
@RaulRoPer I think the C API doesn't support that. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @Giorgi !! I have reviewed it and I think you are absolutely right, although perhaps dudkb should extend that functionality to the C API. Is it possible to add parameters by name? |
Beta Was this translation helpful? Give feedback.
-
|
TVFs support named parameters: https://duckdb.org/docs/preview/clients/c/table_functions but the wrapper methods don't support them: https://github.com/Giorgi/DuckDB.ExtensionKit/blob/main/DuckDB.ExtensionKit/TableFunctions/TableFunctionExtensions.cs |
Beta Was this translation helpful? Give feedback.
-
|
@RaulRoPer Just pushed support for named parameters: https://github.com/Giorgi/DuckDB.ExtensionKit#2-define-your-extension |
Beta Was this translation helpful? Give feedback.
-
|
I've been thinking that perhaps I could use a scalar function to record credentials in a file and then refer to it. It's a shame that duckdb didn't implement the secret manager in its C API. Named Parameters offer a lot of flexibility! Thank you so much! I love this extension kit! @Giorgi ,W ill it also be included in the Nuget package DuckDB.NET.Data? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Add the functionality to create a secret type to the custom extension.
https://duckdb.org/docs/stable/configuration/secrets_manager
Beta Was this translation helpful? Give feedback.
All reactions