MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / bind

Method bind

src/utilities/sql/PreparedStatement.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21bool PreparedStatement::bind(int position, const std::string& t_str) {
22 if (sqlite3_bind_text(m_statement, position, t_str.c_str(), t_str.size(), SQLITE_TRANSIENT) != SQLITE_OK) {
23 return false;
24 }
25 return true;
26}
27
28bool PreparedStatement::bind(int position, int val) {
29 if (sqlite3_bind_int(m_statement, position, val) != SQLITE_OK) {

Callers 4

addSimulationMethod · 0.45
insertIlluminanceMapMethod · 0.45
insertTimeSeriesDataMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by 1