mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-26 09:52:28 +00:00
test: mark macro doctests as ignored (for now)
This commit is contained in:
@@ -59,3 +59,11 @@ pub mod sqlite;
|
||||
#[cfg(feature = "mysql")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "mysql")))]
|
||||
pub mod mysql;
|
||||
|
||||
#[cfg(feature = "mssql")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "mssql")))]
|
||||
pub mod mssql;
|
||||
|
||||
#[cfg(feature = "db2")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "db2")))]
|
||||
pub mod db2;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/// This expands to an instance of [QueryAs] that outputs an ad-hoc anonymous struct type,
|
||||
/// if the query has output columns, or `()` (unit) otherwise:
|
||||
///
|
||||
/// ```rust
|
||||
/// ```rust,ignore
|
||||
/// # use sqlx::Connect;
|
||||
/// # #[cfg(all(feature = "mysql", feature = "runtime-async-std"))]
|
||||
/// # #[async_std::main]
|
||||
@@ -51,7 +51,7 @@
|
||||
/// Like `println!()` and the other formatting macros, you can add bind parameters to your SQL
|
||||
/// and this macro will typecheck passed arguments and error on missing ones:
|
||||
///
|
||||
/// ```rust
|
||||
/// ```rust,ignore
|
||||
/// # use sqlx::Connect;
|
||||
/// # #[cfg(all(feature = "mysql", feature = "runtime-async-std"))]
|
||||
/// # #[async_std::main]
|
||||
@@ -199,7 +199,7 @@ macro_rules! query_unchecked (
|
||||
/// ```
|
||||
///
|
||||
/// `src/my_query.rs`:
|
||||
/// ```rust
|
||||
/// ```rust,ignore
|
||||
/// # use sqlx::Connect;
|
||||
/// # #[cfg(all(feature = "mysql", feature = "runtime-async-std"))]
|
||||
/// # #[async_std::main]
|
||||
@@ -276,7 +276,7 @@ macro_rules! query_file_unchecked (
|
||||
/// * Neither the query nor the struct may have unused fields.
|
||||
///
|
||||
/// The only modification to the syntax is that the struct name is given before the SQL string:
|
||||
/// ```rust
|
||||
/// ```rust,ignore
|
||||
/// # use sqlx::Connect;
|
||||
/// # #[cfg(all(feature = "mysql", feature = "runtime-async-std"))]
|
||||
/// # #[async_std::main]
|
||||
@@ -336,7 +336,7 @@ macro_rules! query_as (
|
||||
///
|
||||
/// Enforces requirements of both macros; see them for details.
|
||||
///
|
||||
/// ```rust
|
||||
/// ```rust,ignore
|
||||
/// # use sqlx::Connect;
|
||||
/// # #[cfg(all(feature = "mysql", feature = "runtime-async-std"))]
|
||||
/// # #[async_std::main]
|
||||
|
||||
Reference in New Issue
Block a user