mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-22 16:29:20 +08:00
Fix Blob example
This commit is contained in:
parent
d70286e98a
commit
a8b9142d47
@ -15,10 +15,11 @@
|
||||
//!
|
||||
//! ```rust
|
||||
//! use rusqlite::blob::ZeroBlob;
|
||||
//! use rusqlite::{Connection, DatabaseName, Result, NO_PARAMS};
|
||||
//! use rusqlite::{Connection, DatabaseName, NO_PARAMS};
|
||||
//! use std::error::Error;
|
||||
//! use std::io::{Read, Seek, SeekFrom, Write};
|
||||
//!
|
||||
//! fn main() -> Result<()> {
|
||||
//! fn main() -> Result<(), Box<Error>> {
|
||||
//! let db = Connection::open_in_memory()?;
|
||||
//! db.execute_batch("CREATE TABLE test (content BLOB);")?;
|
||||
//! db.execute(
|
||||
|
Loading…
Reference in New Issue
Block a user