| 1 | use craterust-analyzer cargo sqlx-postgres 0.8.3 crate/::argumentsrust-analyzer cargo sqlx-postgres 0.8.3 arguments/::PgArgumentBufferrust-analyzer cargo sqlx-postgres 0.8.3 arguments/PgArgumentBuffer#; |
| 2 | use craterust-analyzer cargo sqlx-postgres 0.8.3 crate/::valuerust-analyzer cargo sqlx-postgres 0.8.3 value/::{PgValuerust-analyzer cargo sqlx-postgres 0.8.3 value/PgValue#, PgValueRefrust-analyzer cargo sqlx-postgres 0.8.3 value/PgValueRef#}; |
| 3 | use craterust-analyzer cargo sqlx-postgres 0.8.3 crate/::{ |
| 4 | PgArgumentsrust-analyzer cargo sqlx-postgres 0.8.3 arguments/PgArguments#, PgColumnrust-analyzer cargo sqlx-postgres 0.8.3 column/PgColumn#, PgConnectionrust-analyzer cargo sqlx-postgres 0.8.3 connection/PgConnection#, PgQueryResultrust-analyzer cargo sqlx-postgres 0.8.3 query_result/PgQueryResult#, PgRowrust-analyzer cargo sqlx-postgres 0.8.3 row/PgRow#, PgStatementrust-analyzer cargo sqlx-postgres 0.8.3 statement/PgStatement#, PgTransactionManagerrust-analyzer cargo sqlx-postgres 0.8.3 transaction/PgTransactionManager#, |
| 5 | PgTypeInforust-analyzer cargo sqlx-postgres 0.8.3 type_info/PgTypeInfo#, |
| 6 | }; |
| 7 | |
| 8 | pub(craterust-analyzer cargo sqlx-postgres 0.8.3 crate/) use sqlx_corerust-analyzer cargo sqlx-core 0.8.3 crate/::databaserust-analyzer cargo sqlx-core 0.8.3 database/::{Databaserust-analyzer cargo sqlx-core 0.8.3 database/Database#, HasStatementCacherust-analyzer cargo sqlx-core 0.8.3 database/HasStatementCache#}; |
| 9 | |
| 10 | /// PostgreSQL database driver. |
| 11 | #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:)] |
| 12 | pub struct Postgresrust-analyzer cargo sqlx-postgres 0.8.3 database/Postgres#; |
| 13 | |
| 14 | impl Databaserust-analyzer cargo sqlx-core 0.8.3 database/Database# for Postgresrust-analyzer cargo sqlx-postgres 0.8.3 database/Postgres# { |
| 15 | type Connectionrust-analyzer cargo sqlx-postgres 0.8.3 database/impl#[Postgres][Database]Connection# = PgConnectionrust-analyzer cargo sqlx-postgres 0.8.3 connection/PgConnection#; |
| 16 | |
| 17 | type TransactionManagerrust-analyzer cargo sqlx-postgres 0.8.3 database/impl#[Postgres][Database]TransactionManager# = PgTransactionManagerrust-analyzer cargo sqlx-postgres 0.8.3 transaction/PgTransactionManager#; |
| 18 | |
| 19 | type Rowrust-analyzer cargo sqlx-postgres 0.8.3 database/impl#[Postgres][Database]Row# = PgRowrust-analyzer cargo sqlx-postgres 0.8.3 row/PgRow#; |
| 20 | |
| 21 | type QueryResultrust-analyzer cargo sqlx-postgres 0.8.3 database/impl#[Postgres][Database]QueryResult# = PgQueryResultrust-analyzer cargo sqlx-postgres 0.8.3 query_result/PgQueryResult#; |
| 22 | |
| 23 | type Columnrust-analyzer cargo sqlx-postgres 0.8.3 database/impl#[Postgres][Database]Column# = PgColumnrust-analyzer cargo sqlx-postgres 0.8.3 column/PgColumn#; |
| 24 | |
| 25 | type TypeInforust-analyzer cargo sqlx-postgres 0.8.3 database/impl#[Postgres][Database]TypeInfo# = PgTypeInforust-analyzer cargo sqlx-postgres 0.8.3 type_info/PgTypeInfo#; |
| 26 | |
| 27 | type Valuerust-analyzer cargo sqlx-postgres 0.8.3 database/impl#[Postgres][Database]Value# = PgValuerust-analyzer cargo sqlx-postgres 0.8.3 value/PgValue#; |
| 28 | type ValueRefrust-analyzer cargo sqlx-postgres 0.8.3 database/impl#[Postgres][Database]ValueRef#<'r> = PgValueRefrust-analyzer cargo sqlx-postgres 0.8.3 value/PgValueRef#<'r>; |
| 29 | |
| 30 | type Argumentsrust-analyzer cargo sqlx-postgres 0.8.3 database/impl#[Postgres][Database]Arguments#<'q> = PgArgumentsrust-analyzer cargo sqlx-postgres 0.8.3 arguments/PgArguments#; |
| 31 | type ArgumentBufferrust-analyzer cargo sqlx-postgres 0.8.3 database/impl#[Postgres][Database]ArgumentBuffer#<'q> = PgArgumentBufferrust-analyzer cargo sqlx-postgres 0.8.3 arguments/PgArgumentBuffer#; |
| 32 | |
| 33 | type Statementrust-analyzer cargo sqlx-postgres 0.8.3 database/impl#[Postgres][Database]Statement#<'q> = PgStatementrust-analyzer cargo sqlx-postgres 0.8.3 statement/PgStatement#<'q>; |
| 34 | |
| 35 | const NAMErust-analyzer cargo sqlx-postgres 0.8.3 database/impl#[Postgres][Database]NAME.: &'static str = "PostgreSQL"; |
| 36 | |
| 37 | const URL_SCHEMESrust-analyzer cargo sqlx-postgres 0.8.3 database/impl#[Postgres][Database]URL_SCHEMES.: &'static [&'static str] = &["postgres", "postgresql"]; |
| 38 | } |
| 39 | |
| 40 | impl HasStatementCacherust-analyzer cargo sqlx-core 0.8.3 database/HasStatementCache# for Postgresrust-analyzer cargo sqlx-postgres 0.8.3 database/Postgres# {} |