Skip to content

Commit f0d6611

Browse files
authored
Merge pull request #1627 from tursodatabase/lucio/uodate-batch-docs
libsql: update batch docs on conn type allowed
2 parents 19a91a6 + 8a6ca13 commit f0d6611

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libsql/src/connection.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ impl Connection {
125125
///
126126
/// # Return
127127
///
128-
/// This returns a `BatchRows` currently only the `remote` connection supports this feature and
128+
/// This returns a `BatchRows` currently only the `remote` and `local` connection supports this feature and
129129
/// all other connection types will return an empty set always.
130130
pub async fn execute_batch(&self, sql: &str) -> Result<BatchRows> {
131131
tracing::trace!("executing batch `{}`", sql);
@@ -136,7 +136,7 @@ impl Connection {
136136
///
137137
/// # Return
138138
///
139-
/// This returns a `BatchRows` currently only the `remote` connection supports this feature and
139+
/// This returns a `BatchRows` currently only the `remote` and `local` connection supports this feature and
140140
/// all other connection types will return an empty set always.
141141
pub async fn execute_transactional_batch(&self, sql: &str) -> Result<BatchRows> {
142142
tracing::trace!("executing batch transactional `{}`", sql);

0 commit comments

Comments
 (0)