Module traits

Source

Traits§

CrudOps
CrudOps trait’i, Pool nesnesi için CRUD işlemlerini extension method olarak sağlar. Bu trait, Pool üzerinde doğrudan CRUD işlemlerini çağırmayı mümkün kılar.
FromRow
Trait for converting database rows to Rust structs. This trait is implemented by the derive macro FromRow.
SqlCommand
Trait for generating SQL commands (for INSERT/UPDATE/DELETE operations). This trait is implemented by the derive macros Insertable, Updateable, and Deletable.
SqlParams
Trait for providing SQL parameters. This trait is implemented by the derive macro SqlParams.
SqlQuery
Trait for generating SQL queries (for SELECT operations). This trait is implemented by the derive macro Queryable.
TransactionOps
TransactionOps trait, Transaction için CRUD işlemlerini extension method olarak sağlar Bu şekilde, herhangi bir Transaction nesnesi üzerinde doğrudan CRUD işlemleri yapılabilir
UpdateParams
Trait for providing UPDATE parameters. This trait is implemented by the derive macro UpdateParams.