Skip to content

SQLite Database 0.1.0

edge.sql Interfaceを通してリレーショナルデータを扱います。

公開パッケージの内容を取得して検証済みです。

Hostの対応や受け入れ判断は、パッケージの公開とは別です。このバージョンを使う前に、利用先のHostで確認してください。

使い方

設定が空なのは意図したものです。実行時は型付きのWorkerVersion Bindingで接続します。スキーマの変更にはMigrationSetとMigrationApplicationを使います。

関連するForms: WorkerVersion 0.3.0 · SQLiteMigrationSet 0.1.0 · SQLiteMigrationApplication 0.1.0

定義の説明(英語原文)

Embedded SQLite database with bounded EdgeSqlValue values, rollback-only queries, and serializable all-or-none transactions, exactly as fixed by the edge.sql Interface. SQLite semantics are the identity: a database with different SQL, typing, or isolation behavior is a different Form, never an engine token. Numbers stay finite binary64 values inside Number.MAX_SAFE_INTEGER and do not expose the INTEGER/REAL storage-class distinction; BLOB uses the common canonical encoded-bytes object. Runtime SQL cannot migrate schema; SQLiteMigrationApplication owns that administrative path (decision 0034).

設定項目

項目名とスキーマ内の説明は、パッケージに含まれる英語の原文です。日本語の解説は定義に要件を追加するものではありません。

設定項目はありません。下の例の空のオブジェクトを使います。

設定の例

パッケージに含まれるfixtures/desired.jsonをそのまま掲載しています。完全なHost APIリクエストやOpenTofuの設定ではありません。例のリソース参照とArtifactのダイジェストは、実際の値に置き換えてください。このJSONだけでリソースが作成されることはありません。

json
{}

例の原文を見る

設定のスキーマ全文(英語原文)

入れ子の項目、選択肢、すべてのスキーマ制約を以下に掲載しています。Hostが検証する意味上の規則は、定義の説明にも記載されています。

json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "Embedded SQLite database with bounded EdgeSqlValue values, rollback-only queries, and serializable all-or-none transactions, exactly as fixed by the edge.sql Interface. SQLite semantics are the identity: a database with different SQL, typing, or isolation behavior is a different Form, never an engine token. Numbers stay finite binary64 values inside Number.MAX_SAFE_INTEGER and do not expose the INTEGER/REAL storage-class distinction; BLOB uses the common canonical encoded-bytes object. Runtime SQL cannot migrate schema; SQLiteMigrationApplication owns that administrative path (decision 0034).",
  "properties": {},
  "title": "SQLite Database desired state",
  "type": "object"
}

ライフサイクル

役割: identity

  • create
  • read
  • delete
  • import
  • observe

提供するInterface

  • edge.sql@1.0.0sha256:cebd1121b1e3a5cbcb7b61ec78ad9c79ce05cda90fbc5fdb7b4edd3d59562f8f

パッケージ参照

項目
KindSQLiteDatabase
Package digestsha256:0d3cce162550bb956ed19ce72b5eb1aeca52d78e7ca80e868d646fd580deef84
Schema digestsha256:c72eeb66ef96c4679b5c724fa1219d71c89bb7eeb9e543d73d868ec41bddddfe
Tagforms/k-mvsgozjomzxxe3ltfz2gc23pmzxxe3jomnxw2l2tkfggs5dfirqxiylcmfzwk/sha256-0d3cce162550bb956ed19ce72b5eb1aeca52d78e7ca80e868d646fd580deef84
Source pathforms/releases/k-mvsgozjomzxxe3ltfz2gc23pmzxxe3jomnxw2l2tkfggs5dfirqxiylcmfzwk/sha256-0d3cce162550bb956ed19ce72b5eb1aeca52d78e7ca80e868d646fd580deef84
署名セットe7f8a39311dd011b8467e97e7f300cabb9a6b06c

変更不可のパッケージを開く

4項目のFormRef
json
{
  "apiVersion": "edge.forms.takoform.com",
  "kind": "SQLiteDatabase",
  "definitionVersion": "0.1.0",
  "schemaDigest": "sha256:c72eeb66ef96c4679b5c724fa1219d71c89bb7eeb9e543d73d868ec41bddddfe"
}