Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to inject custom functions and use them in standard queries #125

Open
rajasekarshanmugam opened this issue Aug 31, 2023 · 1 comment

Comments

@rajasekarshanmugam
Copy link

duckdb has a way to inject custom functions into the query engine and use the same function(s) in queries (using python as described here https://www.markhneedham.com/blog/2023/06/02/duckdb-dummy-data-user-defined-functions/). This is very useful to wrap custom algorithms, provide extended behaviors etc..

Is there any way by which we can inject functions implemented in .NET core? These could also accept arguments of native types (similar to the sample above).

Sqlite also provides similar capabilities and application defined functions can be injected via the connection and allows queries to use these similar to native functions (https://www.sqlite.org/appfunc.html.

@Giorgi
Copy link
Owner

Giorgi commented Sep 1, 2023

This is currently not possible with .Net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants