Re-exports§
pub use crate::errors::Error;pub use row::Row;pub use transaction::Transaction;
Modules§
Structs§
Enums§
Traits§
- Async
Needs Sync Send - Client
- The common trait for database connections and transactions.
- Param
- Stream
Client - The common trait for database connections and transactions.
- Transact
Start - Implementers of this trait can crate a transaction.
If you want to create a transaction off of a Client,
make sure you
use welds::TransactStart
Functions§
- connect
- Returns a connection pool (Client/TransactStart) for the given connection string.
- connect_
from_ env - Used the ENV DATABASE_URL builds a connection with whatever is in it.