@@ -426,7 +426,7 @@ added: v22.5.0
426426Compiles a SQL statement into a [ prepared statement] [ ] . This method is a wrapper
427427around [ ` sqlite3_prepare_v2() ` ] [ ] .
428428
429- ### ` database.createSQLTagStore ([maxSize]) `
429+ ### ` database.createTagStore ([maxSize]) `
430430
431431<!-- YAML
432432added: v24.9.0
@@ -450,7 +450,7 @@ avoid the overhead of repeatedly parsing and preparing the same SQL statements.
450450import { DatabaseSync } from ' node:sqlite' ;
451451
452452const db = new DatabaseSync (' :memory:' );
453- const sql = db .createSQLTagStore ();
453+ const sql = db .createTagStore ();
454454
455455db .exec (' CREATE TABLE users (id INT, name TEXT)' );
456456
@@ -625,14 +625,14 @@ added: v24.9.0
625625This class represents a single LRU (Least Recently Used) cache for storing
626626prepared statements.
627627
628- Instances of this class are created via the database.createSQLTagStore () method,
628+ Instances of this class are created via the database.createTagStore () method,
629629not by using a constructor. The store caches prepared statements based on the
630630provided SQL query string. When the same query is seen again, the store
631631retrieves the cached statement and safely applies the new values through
632632parameter binding, thereby preventing attacks like SQL injection.
633633
634634The cache has a maxSize that defaults to 1000 statements, but a custom size can
635- be provided (e.g., database.createSQLTagStore (100)). All APIs exposed by this
635+ be provided (e.g., database.createTagStore (100)). All APIs exposed by this
636636class execute synchronously.
637637
638638### ` sqlTagStore.all(sqlTemplate[, ...values]) `
0 commit comments