0
나는 다음과 같은 문장이 있습니다sqlite3_bind_xxxx, sqlite3_column_xxxx - 첫 번째 매개 변수
SELECT title, price FROM table WHERE id=?
내가 ID 바인딩을 사용해야합니다
sqlite3_bind_int(myStmt, 0, current_id);
또는 내가 사용해야합니까를 :
sqlite3_bind_int(myStmt, 1, current_id);
내 질문은 무엇입니까? 첫 번째 바인딩 매개 변수는 0 또는 1이어야합니다.
sqlite3_column_xxxx를 사용하여 데이터를 가져 오는 것과 동일한 질문입니다. the documentation 따르면