fluidattacks-database-core-domain 0.1.0

Database core functional core: database-agnostic table identifiers and types (no I/O)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# database-core

The database-agnostic interface for Fluid Attacks ETLs, in Rust: what a table
is, independent of the database it lives in. Each database has its own loader
built on it (for example `snowflake-loader`).

The workspace is split into a pure core and a shell that re-exports it:

- `crates/domain` (`fluidattacks-database-core-domain`) — functional core with
  no I/O: the names of database objects (`Identifier`, `SchemaId`, `TableId`,
  `ColumnId`, `DbTableId`), the cell types (`CellType`, `RawValue`,
  `Decimal`, `Numeric`, `FieldType` / `IntoValue`, `KeyField`), the table
  definition (`Column`, `Schema`, `Table`) and the `table!` macro that
  declares a table once. `no_std`.
- `crates/shell` (`fluidattacks-database-core`) — the crate consumers depend
  on; it re-exports the domain.