Files
sqlgen/docs
2025-12-26 12:51:23 +01:00
..
2025-11-01 14:30:58 +01:00
2025-05-29 19:45:01 +02:00
2025-05-14 00:52:11 +02:00
2025-12-03 22:55:59 +01:00
2025-11-20 21:20:12 +01:00
2025-09-21 10:00:15 +03:00
2025-05-07 04:46:10 +02:00
2025-09-07 11:14:02 +02:00
2025-09-13 08:29:26 +02:00
2025-12-03 22:55:59 +01:00
2025-12-03 22:55:59 +01:00
2025-12-03 22:55:59 +01:00
2025-05-11 17:08:24 +02:00
2025-12-03 22:55:59 +01:00
2025-11-20 21:20:12 +01:00
2025-05-07 04:18:10 +02:00

sqlgen Documentation

Welcome to the sqlgen documentation. This guide provides detailed information about sqlgen's features and APIs.

Core Concepts

Database I/O

Database Operations

Other Operations

  • Cache - How to improve performance with caching.
  • Mathematical Operations - How to use mathematical functions in queries (e.g., abs, ceil, floor, exp, trigonometric functions, round).
  • String Operations - How to manipulate and transform strings in queries (e.g., length, lower, upper, trim, replace, concat).
  • Type Conversion Operations - How to convert between types safely in queries (e.g., cast int to double).
  • Null Handling Operations - How to handle nullable values and propagate nullability correctly (e.g., with coalesce and nullability rules).
  • Timestamp and Date/Time Functions - How to work with timestamps, dates, and times (e.g., extract parts, perform arithmetic, convert formats).
  • Enums - How to work with enums sqlgen

Data Types and Validation

Other concepts

  • Connection Pool - How to manage database connections efficiently
  • Transactions - How to use transactions for atomic operations
  • Views - How to create and manage database views

Supported Databases

  • DuckDB - How to interact with DuckDB
  • MySQL - How to interact with MariaDB and MySQL
  • PostgreSQL - How to interact with PostgreSQL and compatible databases (Redshift, Aurora, Greenplum, CockroachDB, ...)
  • SQLite - How to interact with SQLite3

For installation instructions, quick start guide, and usage examples, please refer to the main README.