[][src]Crate butane_core

Re-exports

pub use query::Query;
pub use sqlval::*;

Modules

codegen
db

Types, traits, and methods for interacting with a database.

fkey
many
migrations

For working with migrations. If using the butane CLI tool, it is not necessary to use these types directly.

pkey
query

Types to support database queries. Most users will use the query!, filter!, and find! macros instead of using this module directly.

sqlval

Macros

connection_method_wrapper
make_compile_error

Structs

ObjectState

Used internally by butane to track state about the object.

Enums

Error

Butane errors.

SqlType

Enumeration of the types a database value may take.

Traits

DataObject

An object in the database.

DataResult

A type which may be the result of a database query.

ModelTyped

Type Definitions

Result