Function: sqlite-execute-batch

sqlite-execute-batch is a function defined in sqlite.c.

Signature

(sqlite-execute-batch DB STATEMENTS)

Documentation

Execute multiple SQL STATEMENTS in DB.

STATEMENTS is a string containing 0 or more SQL statements.

View in manual

Probably introduced at or before Emacs version 30.1.

Source Code

// Defined in /usr/src/emacs/src/sqlite.c
{
  check_sqlite (db, false);
  CHECK_STRING (statements);
  Lisp_Object encoded = encode_string (statements);
  return sqlite_exec (XSQLITE (db)->db, SSDATA (encoded));
}