SeleID

Articles

SeleBase: managed SQL databases with a console

SeleBase gives each project its own SQL database with an HTTP API, a SQL console, migrations, import and export.

Published by SeleTech

Short answer

SeleBase gives each project its own SQLite-compatible database with an HTTP API and a SQL console. Your data lives in your own database and other customers cannot reach it.

You create a database with an API key, then send one SQL statement per request with bound parameters. Keys have roles: read keys can only run SELECT, migrate keys can also change data and schema, and admin keys can create and delete databases and read the audit log. The console lets you paste a key, pick a database, view the schema and run a statement. The key stays in the page’s memory and is never stored. Statements are checked against an allow-list and every run is logged without storing the statement text.

You can export a database as a SQL dump and import one back, and migrations are plain schema statements you can make safe to repeat. Plan allowances are provisional and are not published here. It is coming soon.

Frequently asked questions

What database engine is it?

A managed SQLite-compatible engine.

Can I run any SQL?

One statement per request, from an allow-list. Statements such as ATTACH, PRAGMA, VACUUM and triggers are blocked, and read keys can only run SELECT.

Can I export my data?

Yes. You can export a SQL dump and import one back.

Is SeleBase available?

It is coming soon.

Related