sqlitecloud / sdk

Official SDK repository for SQLite Cloud databases and nodes.
https://sqlitecloud.io
29 stars 2 forks source link

Put default function in body for each edge function language #18

Closed linear[bot] closed 1 month ago

linear[bot] commented 1 month ago

to demonstrate how to access database and request object from code.
// JS and TS
// const query = request.params.query;
// How to access sqlite db
// return valid object //
// SQL
// Show how to use query parameters and request object
// Python
// Show how to access request params and return valid object

TizianoT commented 1 month ago

I have created example for JS/TS and SQL.
@jacob you can find these example in staging. Let me know it they are clear.

Python example hasn't been developed because Python isn't installed on the server.