[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/sqlite ee4521e: Mention with-sqlite-transaction

From: Lars Ingebrigtsen
Subject: scratch/sqlite ee4521e: Mention with-sqlite-transaction
Date: Wed, 8 Dec 2021 19:16:01 -0500 (EST)

branch: scratch/sqlite
commit ee4521e6bcd4aca90fc37cf454c46d119e2a5f78
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Mention with-sqlite-transaction
 doc/lispref/text.texi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index c5be905..6ab4f41 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -5255,6 +5255,11 @@ End a transaction and write the data out.
 End a transaction and discard any changes that have been made.
 @end defun
+@defmac with-sqlite-transaction db &body body
+Like @code{progn}, but executes @var{body} with a transaction held,
+and do a commit at the end.
+@end defmac
 @defun sqlite-load-extension db module
 Load an extension into @var{db}.  Extensions are usually @file{.so} files.
 @end defun

reply via email to

[Prev in Thread] Current Thread [Next in Thread]