mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-19 06:18:56 +08:00
Improve doc
This commit is contained in:
@@ -377,6 +377,9 @@ impl<'conn> Statement<'conn> {
|
||||
/// If the query returns more than one row, all rows except the first are
|
||||
/// ignored.
|
||||
///
|
||||
/// Returns `Err(QueryReturnedNoRows)` if no results are returned. If the query truly is optional,
|
||||
/// you can call `.optional()` on the result of this to get a `Result<Option<T>>`.
|
||||
///
|
||||
/// # Failure
|
||||
///
|
||||
/// Will return `Err` if the underlying SQLite call fails.
|
||||
|
Reference in New Issue
Block a user