Skip to content
ParticleDB

SQL basics

Start with relational data for a complete example.

  • SELECT: choose columns, filter, sort and limit.
  • Writes: insert, update and delete.
  • Joins: combine related records.
  • Aggregations: summarize groups.

Choose types, create tables and indexes and use schemas to organize objects.

Bind values through the client’s parameter API. Use an allowlist for dynamic identifiers. Handle nulls and conversion errors explicitly.

Use transactions when database changes form one application operation. Schema commands may have different transaction requirements.

Documentation home · Troubleshooting