Skip to content

Fix documentation links #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions src/run_query_dsl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ where
pub trait RunQueryDsl<Conn>: Sized {
/// Executes the given command, returning the number of rows affected.
///
/// `execute` is usually used in conjunction with [`insert_into`](crate::insert_into()),
/// [`update`](crate::update()) and [`delete`](crate::delete()) where the number of
/// `execute` is usually used in conjunction with [`insert_into`](diesel::insert_into()),
/// [`update`](diesel::update()) and [`delete`](diesel::delete()) where the number of
/// affected rows is often enough information.
///
/// When asking the database to return data from a query, [`load`](crate::query_dsl::RunQueryDsl::load()) should
/// When asking the database to return data from a query, [`load`](crate::run_query_dsl::RunQueryDsl::load()) should
/// probably be used instead.
///
/// # Example
Expand Down Expand Up @@ -164,10 +164,10 @@ pub trait RunQueryDsl<Conn>: Sized {
/// For insert, update, and delete operations where only a count of affected is needed,
/// [`execute`] should be used instead.
///
/// [`Queryable`]: crate::deserialize::Queryable
/// [`QueryableByName`]: crate::deserialize::QueryableByName
/// [`execute`]: crate::query_dsl::RunQueryDsl::execute()
/// [`sql_query`]: crate::sql_query()
/// [`Queryable`]: diesel::deserialize::Queryable
/// [`QueryableByName`]: diesel::deserialize::QueryableByName
/// [`execute`]: crate::run_query_dsl::RunQueryDsl::execute()
/// [`sql_query`]: diesel::sql_query()
///
/// # Examples
///
Expand Down Expand Up @@ -281,10 +281,10 @@ pub trait RunQueryDsl<Conn>: Sized {
/// For insert, update, and delete operations where only a count of affected is needed,
/// [`execute`] should be used instead.
///
/// [`Queryable`]: crate::deserialize::Queryable
/// [`QueryableByName`]: crate::deserialize::QueryableByName
/// [`execute`]: crate::query_dsl::RunQueryDsl::execute()
/// [`sql_query`]: crate::sql_query()
/// [`Queryable`]: diesel::deserialize::Queryable
/// [`QueryableByName`]: diesel::deserialize::QueryableByName
/// [`execute`]: crate::run_query_dsl::RunQueryDsl::execute()
/// [`sql_query`]: diesel::sql_query()
///
/// # Examples
///
Expand Down Expand Up @@ -463,7 +463,7 @@ pub trait RunQueryDsl<Conn>: Sized {
/// This method is an alias for [`load`], but with a name that makes more
/// sense for insert, update, and delete statements.
///
/// [`load`]: crate::query_dsl::RunQueryDsl::load()
/// [`load`]: crate::run_query_dsl::RunQueryDsl::load()
async fn get_results<U>(self, conn: &mut Conn) -> QueryResult<Vec<U>>
where
U: Send,
Expand Down