sqlite3 c语言库



sqlite3_mprintf

1
2
    char *zText = "It's a happy day!";
    char *zsql = sqlite3_mprintf("INSERT INTO table VALUES('%q')",zText);

sqlite3_free(zsql);%q %Q区别还要确认


words26
tagsC sqlite3
lastmod2023-07-02
footer test line hide