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    get,
27    get_all,
28    select,
29    select_all
30};
31
32// Deadpool-postgres türlerini dışa aktar
33pub use deadpool_postgres::{Pool, Client as PoolClient, PoolError, Transaction};
34
35// Public olarak Row ve Error türlerini dışa aktar
36pub use tokio_postgres::{Error, Row};
37pub use tokio_postgres::types::ToSql;