Skip to content

Commit eb19ec2

Browse files
authored
Update CppSQLite3.h
Closes #1
1 parent 7c0d808 commit eb19ec2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CppSQLite3.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@ class CppSQLite3Statement
267267
void bind(int nParam, const double dwValue);
268268
void bind(int nParam, const unsigned char* blobValue, int nLen);
269269
void bindNull(int nParam);
270+
271+
// Inline overload to support calling with (int, std::string)
272+
void bind(int nParam, const std::string& value) {
273+
bind(nParam, value.c_str());
274+
}
270275

271276
void reset();
272277

0 commit comments

Comments
 (0)