1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! The shared internals of the sqlx-cloudflare drivers.
//!
//! You want [`sqlx-cloudflare-d1`](https://docs.rs/sqlx-cloudflare-d1) or
//! [`sqlx-cloudflare-do`](https://docs.rs/sqlx-cloudflare-do) instead. Both are
//! SQLite behind a JavaScript API, so they share what this crate holds:
//!
//! - the value model -- [`Value`], bound and read alike, and [`TypeInfo`] --
//! and the ±(2^53 − 1) rule JavaScript numbers impose on integers;
//! - the `Type`, `Encode` and `Decode` impls, written into each driver by
//! [`impl_types!`];
//! - the conversion to and from JavaScript values ([`js`]);
//! - [`DatabaseError`], read from SQLite's message text;
//! - [`QueryResult`], [`BatchResult`] and the typing of a result's columns
//! ([`rows`]).
//!
//! What a driver keeps for itself is the part the orphan rule will not let it
//! share: its `Database` type and the row, column, value and arguments types
//! whose sqlx traits name it.
//!
//! This API serves those drivers and carries no stability promise of its own.
pub use add_argument;
pub use DatabaseError;
pub use ;
pub use rows;
pub use ;
// Named by `impl_types!`, which expands in a driver crate that need not
// depend on sqlx-core under that name.
pub use sqlx_core as __sqlx_core;