parsql_deadpool_postgres/
lib.rs

1// Traits modülünü ekle
2pub mod traits;
3pub mod macros;
4
5// Transaction işlemleri için modül
6pub mod transactional_ops;
7
8// Re-export macros
9pub use macros::*;
10
11// Transaction işlemleri için takma ad
12pub use transactional_ops as transactional;
13
14// CRUD işlemleri için modül
15mod crud_ops;
16
17// Pool extension işlemleri için modül
18pub mod pool_extensions;
19pub mod transaction_extensions;
20
21// CRUD işlemlerini dışa aktar
22pub use crud_ops::{
23    insert,
24    update,
25    delete,
26    fetch,
27    fetch_all,
28    get,
29    get_all,
30    select,
31    select_all
32};
33
34// Deadpool-postgres türlerini dışa aktar
35pub use deadpool_postgres::{Pool, Client as PoolClient, PoolError, Transaction};
36
37// Public olarak Row ve Error türlerini dışa aktar
38pub use tokio_postgres::{Error, Row};
39pub use tokio_postgres::types::ToSql;