Skip to content

entiqon/db

Repository files navigation

Database

Part of the Entiqon Core.

🌱 Overview

Entiqon/db is a modular SQL query engine for Go, designed for composable, type-safe, and auditable SQL generation.


🛠 Capabilities

Module Feature Purpose Status
builder insert High-level SQL builder for INSERT statements 📝 Planned
select High-level SQL builder for SELECT statements (stable and production-ready) ✅ Stable
update High-level SQL builder for UPDATE statements 📝 Planned
delete High-level SQL builder for DELETE statements 📝 Planned
upsert High-level SQL builder for UPSERT / MERGE statements 📝 Planned
token field Dialect-agnostic representation of SQL fields/expressions ✅ Stable
table Dialect-agnostic representation of SQL tables/sources ✅ Stable
join Dialect-agnostic representation of SQL join clauses 🚧 Ongoing
contract BaseToken Common base for tokens (shared identity, ownership, validity checks) ✅ Stable
Clonable Ensures semantic cloning of tokens without mutation ✅ Stable
Debuggable Provides developer-facing diagnostics (Debug()) ✅ Stable
Rawable Provides generic SQL output for logging (Raw()) ✅ Stable
Renderable Provides dialect-aware SQL rendering (Render()) ✅ Stable
Stringable Provides UX-facing, human-friendly string representations (String()) ✅ Stable
Validable Ensures tokens can self-validate construction rules ✅ Stable

📄 License

MIT — © Entiqon Project

About

Database builders and SQL token utilities for Entiqon

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages