diff --git a/reference/sqlite3/sqlite3/construct.xml b/reference/sqlite3/sqlite3/construct.xml index e27ee9d814..d2a00a2055 100644 --- a/reference/sqlite3/sqlite3/construct.xml +++ b/reference/sqlite3/sqlite3/construct.xml @@ -1,5 +1,5 @@ - + @@ -14,8 +14,8 @@ SQLite3::__construct stringfilename - intflags - stringencryption_key + intflags + stringencryption_key Instantiates an SQLite3 object and opens a connection to an @@ -41,7 +41,27 @@ Optional flags used to determine how to open the SQLite database. By - default, open uses SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE. + default, open uses SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE. + + + + SQLITE3_OPEN_READONLY: Open the database for + reading only. + + + + + SQLITE3_OPEN_READWRITE: Open the database for + reading and writing. + + + + + SQLITE3_OPEN_CREATE: Create the database if it + does not exist. + + + @@ -49,7 +69,7 @@ encryption_key - An optional encryption key used when encyrpting and decrypting an + An optional encryption key used when encrypting and decrypting an SQLite database. diff --git a/reference/sqlite3/sqlite3/open.xml b/reference/sqlite3/sqlite3/open.xml index 29632af8b5..f241608c01 100644 --- a/reference/sqlite3/sqlite3/open.xml +++ b/reference/sqlite3/sqlite3/open.xml @@ -1,5 +1,5 @@ - + @@ -12,8 +12,8 @@ public boolSQLite3::open stringfilename - intflags - stringencryption_key + intflags + stringencryption_key Opens an SQLite 3 Database. If the build includes encryption, then it will @@ -38,7 +38,27 @@ Optional flags used to determine how to open the SQLite database. By - default, open uses SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE. + default, open uses SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE. + + + + SQLITE3_OPEN_READONLY: Open the database for + reading only. + + + + + SQLITE3_OPEN_READWRITE: Open the database for + reading and writing. + + + + + SQLITE3_OPEN_CREATE: Create the database if it + does not exist. + + + @@ -46,7 +66,7 @@ encryption_key - An optional encryption key used when encyrpting and decrypting an + An optional encryption key used when encrypting and decrypting an SQLite database.