📄 usage_using_database.txt
字号:
/* LiteSQL - Documentation * * By Tero Laitinen * * See LICENSE for copyright information. *//* \file documentation.txt Manual *//** \page usage_using_database Database API: raw queriesIf you prefer to access database using raw queries, use plainDatabase-class and query-method. escapeSQL-function can be used to escape illegal characters such as '.NULL is a special word and it has to be escaped by the user.'NULL' maps to NULL and ''NULL'' to 'NULL' etc.Use Database::groupInsert - if you want to create rows with new integeras the first field.A query example:\codeDatabase db("sqlite3", "database=test.db");db.query("CREATE TABLE custom(value INTEGER);");db.query("INSERT INTO custom VALUES (1)");Records recs = db.query("SELECT * from custom");for (Records::iterator i = recs.begin(); i != recs.end(); i++) cout << (*i)[0] << endl;\endcode */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -