Skip to content

Commit

Permalink
Some incorrect info fixes in Database doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinnegatamante committed Apr 7, 2018
1 parent cef76d5 commit 664f528
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/luaDatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Database {
public:

/**
* Open an existing database.
* Open/Create an SQLite database.
* \ingroup Database
*
* @par Usage example:
Expand All @@ -33,8 +33,10 @@ class Database {
* @code
* Database.close(db)
* @endcode
*
* @param db - A valid database handle.
*/
int close(void);
void close(int db);

/**
* Execute a query.
Expand All @@ -43,7 +45,7 @@ class Database {
* @par Usage example:
* @code
* results = Database.execQuery(db, "SELECT columnName FROM tableName")
* Graphics.debugPrint(0, 0, results[0].columnName, Color.new(255, 255, 255))
* Graphics.debugPrint(0, 0, results[1].columnName, Color.new(255, 255, 255))
* @endcode
*
* @param db - A valid database handle.
Expand Down

0 comments on commit 664f528

Please sign in to comment.