Git Product home page Git Product logo

Comments (7)

SergejJurecko avatar SergejJurecko commented on June 12, 2024

We could add an extensions folder and if you add any .so/.dll/.dylib files to it they will be loaded. It would of course mean those files must be present on every node.

from actordb.

slanska avatar slanska commented on June 12, 2024

I think that would be perfectly fine. Confirm if I understand this correctly - ActorDB will try to load all ./so/.dll/.dylib files from specific folder (assuming folder exists) automatically, upon database connection?
Thanks a lot!

from actordb.

SergejJurecko avatar SergejJurecko commented on June 12, 2024

upon database startup

from actordb.

SergejJurecko avatar SergejJurecko commented on June 12, 2024

Added in latest version 0.10.23

from actordb.

slanska avatar slanska commented on June 12, 2024

First, I appreciate your quick feedback to my request and enabling sqlite extensions in the recent build.
I tried to load my custom extension by placing .dylib file to /extensions folder (on macOS), stopping and restarting actordb service. It seems that extension was not loaded (my custom function is not recognized). Is it the right way to load extension? Do I need to modify configuration or something else?

How can I trace/debug if extension was loaded or not? Adding some console output during service start would be helpful (if it is feasible to implement). Thanks, Sergej.

from actordb.

SergejJurecko avatar SergejJurecko commented on June 12, 2024

You do need to modify the configuration. By default the setting is commented out (thus disabled).

from actordb.

slanska avatar slanska commented on June 12, 2024

What a promptness! Thanks! I modified app.config and it worked like a charm!

from actordb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.