Repository navigation
v0.2.0
Binaries for Linux, macOS, Windows and FreeBSD are attached below. The Docker image is
ghcr.io/mariuz/firebirdrest:0.2.0. See CHANGELOG.md for details.
SQL schemas for Firebird 6, chosen per request with Accept-Profile and Content-Profile.
Schema support is experimental: it is tested against the Firebird 6 snapshot and may change
if Firebird 6 changes before its release. Existing setups keep working as before: Firebird 3-5
are unaffected, and Firebird 6 without db-schemas serves PUBLIC as it did.
Added
- SQL schemas (Firebird 6, experimental):
db-schemaslists the schemas to expose, the first
being the default (publicwhen unset). Requests pick one withAccept-Profile(reads) orContent-Profile
(writes), as in PostgREST; responses carryContent-Profile, and unexposed schemas get406
(FBRST106). Each schema has its own cache and OpenAPI description, statements use
schema-qualified names, and embedding follows foreign keys within the schema.
examples/bookstore-fb6.sqladds aninventoryschema.db-pre-requestacceptsschema.proc.
Fixed
- On Firebird 6 the schema cache matches system-table rows by schema as well as by name (domains,
constraints, indexes, routine parameters), instead of relying on names being unique.