Module query

Module query 

Source
Expand description

Offers an abstraction layer for building and executing SQL queries, simplifying complex query logic. Provides structures and enums for handling and executing SQL queries, along with error handling.

This module includes custom error types for different database-related errors, enums for query operations and cardinality, and a struct for building and managing queries for database tables.

Structs§

Query
Represents a atmosphere query over a database table.

Enums§

Cardinality
Describes the cardinality of the rows affected by a query.
Operation
Describes the types of operations that a query performs.
QueryError
Errors that can occur while executing a database query.
QueryResult
Describes possible results of executing a query.
SqlError
Encapsulates errors derived from SQLSTATE codes.
ViolationError
Represents errors related to constraint violations in the database.