gecko-dev/storage/test
Marco Bonardo 1b86f6b5be Bug 483318 - Implement binding arrays to mozIStorageStatementParams. r=asuth,lina,Standard8
Use `carray`` extension to bind array of numerics and strings, so we can
avoid large and slow IN clauses, and cache prepared statements having
a variable number of parameters.
The extension is statically loaded and available in every connection.
Consumers are encouraged to use the explicit `bindArrayXXX` methods, as
the generic `bindByIndex` and `bindByName` methods are too lenient,
especially from Javascript.
Note `carray`` only supports UTF8 encoded strings, the API will convert
the encoding when UTF16 is passed in.
These new variants are not exposed to Rust yet, as the existing comment
suggests they were intended for primitive types. It could be done in the
future, if necessary.

Differential Revision: https://phabricator.services.mozilla.com/D225334
2024-10-28 19:28:24 +00:00
..
gtest Bug 483318 - Implement binding arrays to mozIStorageStatementParams. r=asuth,lina,Standard8 2024-10-28 19:28:24 +00:00
unit Bug 483318 - Implement binding arrays to mozIStorageStatementParams. r=asuth,lina,Standard8 2024-10-28 19:28:24 +00:00
moz.build Bug 1859896 - Batch 16 - convert xpcshell.ini -> .toml. r=aryx,webdriver-reviewers 2023-11-25 21:08:44 +00:00