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

Plugin examples #224

Open
Crazee opened this issue Jun 19, 2017 · 1 comment
Open

Plugin examples #224

Crazee opened this issue Jun 19, 2017 · 1 comment

Comments

@Crazee
Copy link

Crazee commented Jun 19, 2017

What would really help are a couple of examples on how to write (and compile and load) a plugin that defines a sqllite stored procedure or function.

If you currently use a couple of mySQL "CREATE FUNCTION ..." procedures a "simple database conversion" won't get you there.

@quinthar
Copy link
Contributor

Fair point. I'd suggest the simplest example is the Bedrock::DB plugin, which is really just a single .h/cpp file pair. Don't get much more simple than that!

As for compiling it, it does require creating a shared library, and I'm not sure if we have any good examples here. @tylerkaraszewski can you provide some guidance here?

Thanks, and sorry for the slow response!

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