edge-sql
A serverless edge worker embedding SQLite using Cloudflare Workers and WASM.
Check out the source on GitHub and/or follow me on Twitter.
The data used in production is a reduced version (only EUR, JPY, GBP and CHF currencies) of the European Central Bank Forex Rates on Humdata. It is distributed under the license CC-BY.
Example queries
Days GBP was the highest and lowest
SELECT *,1/EUR,1/JPY,1/GBP,1/CHF
FROM forex
WHERE
GBP = (
SELECT
max(GBP)
FROM forex)
OR GBP = (
SELECT
min(GBP)
FROM forex)
Use SQLite built-in and extra functions
SELECT
getdata('country') AS country,
random() AS rnd,
date('now') AS now
Try
Result will be printed here
Duration of the query: NA
from Hacker News https://ift.tt/2M7Jv6E
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.