Installation
Usage
Bind your database
If you install the plugin directly throughnktool
, the CLI will guide you through the configuration process.
Query the database
You can use thequery
function everywhere you want, as long the function is being called on the server side.
src/routes/api/posts/+server.ts