mirror of
https://github.com/NixOS/nix
synced 2025-06-28 01:11:15 +02:00
SQLiteStmt: Use std::string_view
This commit is contained in:
parent
3b489e8843
commit
7a9687ba30
2 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ struct SQLiteStmt
|
|||
~Use();
|
||||
|
||||
/* Bind the next parameter. */
|
||||
Use & operator () (const std::string & value, bool notNull = true);
|
||||
Use & operator () (std::string_view value, bool notNull = true);
|
||||
Use & operator () (const unsigned char * data, size_t len, bool notNull = true);
|
||||
Use & operator () (int64_t value, bool notNull = true);
|
||||
Use & bind(); // null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue