gwenn
312bf41e90
Merge remote-tracking branch 'origin/master' into deprecated
2022-12-11 09:56:22 +01:00
gwenn
2e07650a02
Use ?NNN format instead of ?
...
https://sqlite.org/lang_expr.html#parameters
> But because it is easy to miscount the question marks, the use of this parameter format is discouraged. Programmers are encouraged to use one of the symbolic formats below or the ?NNN format above instead.
2022-11-27 09:38:06 +01:00
gwenn
d79d4a175b
Remove deprecated API
2022-11-11 14:45:22 +01:00
gwenn
618e9a1274
Clean code
...
Typos, deprecated code usages, ...
2022-05-29 13:33:51 +02:00
gwenn
c313cd770d
Params for 28-length arrays
2022-04-23 21:32:19 -07:00
Thom Chiovoloni
2ec0b2e8fe
Implement Params
for tuples of ToSql up to size 16, and touch up docs
2022-03-10 13:07:06 -08:00
gwenn
01c4be82c8
clippy::doc_markdown
2022-01-06 04:54:10 -08:00
gwenn
30f8c8c502
Fix callbacks lifetime
2021-12-01 04:28:09 -08:00
Thom Chiovoloni
db914abd00
Make the empty placeholder params be Send + Sync
2021-07-28 13:45:28 -04:00
Dirk Stolle
c33d6bfad3
fix several typos
2021-05-02 23:03:10 -07:00
Thom Chiovoloni
19b0772f3f
Make it clear bind_in is not public, and inline functions passing large arrays by value to avoid too much copying
2021-01-31 16:18:48 -08:00
gwenn
afcdc2b43a
Use most concise syntax for params
2021-01-19 21:16:08 +01:00
gwenn
6fae5d6641
Add/fix rustdoc links
2020-11-22 09:34:03 +01:00
Thom Chiovoloni
65c38bf813
Add #[inline]
and #[cold]
in far more places
2020-11-04 07:59:23 -08:00
Thom Chiovoloni
f0990c38bf
Fix stale doc
2020-11-03 19:09:19 -08:00
Thom Chiovoloni
a312582d11
Ensure empty array Params impl can trigger Error::InvalidParameterCount when needed
2020-11-03 19:09:19 -08:00
Thom Chiovoloni
22121772a2
Deprecate NO_PARAMS in favor of passing an empty array
2020-11-03 19:09:19 -08:00
Thom Chiovoloni
2461ebf62f
Update documentation
2020-11-03 19:09:19 -08:00
Thom Chiovoloni
032aea73b8
Overhaul query API, removing the need for the _named
variants of all functions, and rusqlite::NO_PARAMS
2020-11-03 19:09:19 -08:00