Module git_icons::database

source ·

Re-exports

pub use schema::*;

Modules

Structs

Connections for the SQLite backend. Unlike other backends, “connection URLs” for SQLite are file paths, URIs, or special identifiers like :memory:.

Enums

Errors which can occur during Connection::establish

Traits

Indicates that all elements of an expression are valid given a from clause.
Constructs a query that finds record(s) based on directional association with other record(s).
Methods present on boolean expressions
Helper trait used when boxing expressions.
A column on a database table. Types which implement this trait should have been generated by the table! macro.
A connection to a database
Adds the escape method to LIKE and NOT LIKE. This is used to specify the escape character for the pattern.
Represents a typed fragment of SQL.
Methods present on all expressions, except tuples
This trait is not yet part of Diesel’s public API. It may change in the future without a major version bump.
The grouped_by function groups records by their parent.
This trait indicates that a struct represents a single row in a database table.
Represents that a structure can be used to insert a new row into the database. This is automatically implemented for &[T] and &Vec<T> for inserting more than one record.
Converts a type to its representation for use in Diesel’s query builder.
Specify the ON clause for a join statement. This will override any implicit ON clause that would come from joinable!
Indicates that two tables can be joined without an explicit ON clause.
Methods present on all expressions
Methods used to construct select statements.
Represents a type which can appear in the FROM clause. Apps should not need to concern themselves with this trait.
Trait indicating that a record can be queried from the database.
Methods used to execute queries.
Sugar for types which implement both AsChangeset and Identifiable
Indicates that an expression can be selected from a source.
A SQL database table. Types which implement this trait should have been generated by the table! macro.
Methods present on text expressions

Functions

Type Definitions

A specialized result type for establishing connections.
A specialized result type for queries.