File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ impl Connection {
22
22
/// stmt.execute(["Joe Smith"])?;
23
23
/// }
24
24
/// {
25
- /// // This will return the same underlying SQLite statement handle without
25
+ /// // This will return the same underlying DuckDB statement handle without
26
26
/// // having to prepare it again.
27
27
/// let mut stmt = conn.prepare_cached("INSERT INTO People (name) VALUES (?)")?;
28
28
/// stmt.execute(["Bob Jones"])?;
@@ -34,7 +34,7 @@ impl Connection {
34
34
/// # Failure
35
35
///
36
36
/// 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.
38
38
#[ inline]
39
39
pub fn prepare_cached ( & self , sql : & str ) -> Result < CachedStatement < ' _ > > {
40
40
self . cache . get ( self , sql)
@@ -135,7 +135,7 @@ impl StatementCache {
135
135
// # Failure
136
136
//
137
137
// Will return `Err` if no cached statement can be found and the underlying
138
- // SQLite prepare call fails.
138
+ // DuckDB prepare call fails.
139
139
fn get < ' conn > ( & ' conn self , conn : & ' conn Connection , sql : & str ) -> Result < CachedStatement < ' conn > > {
140
140
let trimmed = sql. trim ( ) ;
141
141
let mut cache = self . 0 . borrow_mut ( ) ;
You can’t perform that action at this time.
0 commit comments