mirror of
https://github.com/isar/rusqlite.git
synced 2025-01-20 23:50:51 +08:00
Rename row
parameter to row_id
This commit is contained in:
parent
3e6fffaf94
commit
466b8aab2f
@ -64,7 +64,7 @@ pub struct Blob<'conn> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl Connection {
|
impl Connection {
|
||||||
/// Open a handle to the BLOB located in `row`, `column`, `table` in database `db`.
|
/// Open a handle to the BLOB located in `row_id`, `column`, `table` in database `db`.
|
||||||
///
|
///
|
||||||
/// # Failure
|
/// # Failure
|
||||||
///
|
///
|
||||||
@ -74,7 +74,7 @@ impl Connection {
|
|||||||
db: DatabaseName,
|
db: DatabaseName,
|
||||||
table: &str,
|
table: &str,
|
||||||
column: &str,
|
column: &str,
|
||||||
row: i64,
|
row_id: i64,
|
||||||
read_only: bool)
|
read_only: bool)
|
||||||
-> Result<Blob<'a>> {
|
-> Result<Blob<'a>> {
|
||||||
let mut c = self.db.borrow_mut();
|
let mut c = self.db.borrow_mut();
|
||||||
@ -87,7 +87,7 @@ impl Connection {
|
|||||||
db.as_ptr(),
|
db.as_ptr(),
|
||||||
table.as_ptr(),
|
table.as_ptr(),
|
||||||
column.as_ptr(),
|
column.as_ptr(),
|
||||||
row,
|
row_id,
|
||||||
if read_only { 0 } else { 1 },
|
if read_only { 0 } else { 1 },
|
||||||
&mut blob)
|
&mut blob)
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user