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

Comments

Projects
None yet
2 participants
@Crazee

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

This comment has been minimized.

Show comment
Hide comment
@quinthar

quinthar Aug 15, 2018

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!

Contributor

quinthar commented Aug 15, 2018

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