Files
sqlgen/docs/README.md
2025-08-09 00:36:53 +02:00

3.4 KiB

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

  • 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).

Data Types and Validation

Other concepts

Supported Databases

  • 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.