Skip to content

Commit 6640ff2

Browse files
authored
change SQLite to DuckDB (#308)
1 parent d7438c7 commit 6640ff2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cache.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ impl Connection {
2222
/// stmt.execute(["Joe Smith"])?;
2323
/// }
2424
/// {
25-
/// // This will return the same underlying SQLite statement handle without
25+
/// // This will return the same underlying DuckDB statement handle without
2626
/// // having to prepare it again.
2727
/// let mut stmt = conn.prepare_cached("INSERT INTO People (name) VALUES (?)")?;
2828
/// stmt.execute(["Bob Jones"])?;
@@ -34,7 +34,7 @@ impl Connection {
3434
/// # Failure
3535
///
3636
/// Will return `Err` if `sql` cannot be converted to a C-compatible string
37-
/// or if the underlying SQLite call fails.
37+
/// or if the underlying DuckDB call fails.
3838
#[inline]
3939
pub fn prepare_cached(&self, sql: &str) -> Result<CachedStatement<'_>> {
4040
self.cache.get(self, sql)
@@ -135,7 +135,7 @@ impl StatementCache {
135135
// # Failure
136136
//
137137
// Will return `Err` if no cached statement can be found and the underlying
138-
// SQLite prepare call fails.
138+
// DuckDB prepare call fails.
139139
fn get<'conn>(&'conn self, conn: &'conn Connection, sql: &str) -> Result<CachedStatement<'conn>> {
140140
let trimmed = sql.trim();
141141
let mut cache = self.0.borrow_mut();

0 commit comments

Comments
 (0)