Example extension for the VillageSQL snap (content interface)
Example of shipping a VillageSQL extension as a separate snap that plugs
into the villagesql snap through the content interface:
sudo snap install villagesql-hello
sudo snap connect villagesql:extensions villagesql-hello:extensions
sudo snap restart villagesql
sudo villagesql.mysql -uroot
-e "INSTALL EXTENSION vsql_hello; SELECT hello('snap');"
Provides hello(str) and shout(str), written in C++ with the VillageSQL v3
SDK and built against the published SDK tarball (no server build needed).