summaryrefslogtreecommitdiffstats
path: root/db.lua
Commit message (Collapse)AuthorAgeFilesLines
* Add db.isconnected to report connection statusTed Trask2015-12-301-0/+4
|
* Fix bug in db.listtables where extra tables reported because schema was not ↵Ted Trask2015-09-191-5/+10
| | | | | | checked Added schema checks all information_schema accesses
* Add db.getcolumndata and return data type from db.listcolumnsTed Trask2015-09-191-3/+46
|
* Revert "Fix db.lua to use unpack for multiple arguments"Ted Trask2014-12-291-1/+1
| | | | This reverts commit 926e8772a105f59383c0620fc45643806f8f5590.
* Fix db bug when execute(sql) returns a number instead of a cursorTed Trask2014-11-281-2/+7
|
* Fix db.listkeycolumns for mysqlTed Trask2014-11-281-1/+7
|
* Fix missing table detection for mysqlTed Trask2014-11-281-0/+4
|
* Finish sqlite support in dbTed Trask2014-11-281-5/+33
|
* Add support for mysql to db.luaTed Trask2014-11-041-3/+38
|
* Extend db.listcolumns to also return the default values and nullable flagTed Trask2014-11-031-7/+14
|
* Use the specified user for db.lua listdatabasesTed Trask2014-10-301-2/+10
|
* Minor bug in db.lua when host or port are blank stringTed Trask2014-10-281-2/+3
|
* Added listkeycolumns function to db libraryTed Trask2014-10-271-0/+15
|
* Add error checking for db database engineTed Trask2014-10-271-0/+2
|
* Modify db to only report tables in public schema for postgresqlTed Trask2014-06-301-1/+1
| | | | We can add proper schema support in the future
* Fix null pointer exceptions in db referencing table_creation_scriptsTed Trask2014-06-301-2/+2
|
* Fix db.lua to use unpack for multiple argumentsTed Trask2013-10-191-1/+1
|
* Remove all calls to 'module' in preparation for move to Lua 5.2Ted Trask2013-10-171-12/+14
| | | | | Use mymodule parameter for module definition. This was also helpful in revealing places where the code relied on the global environment.
* Change use of require to work with Lua 5.2Ted Trask2013-10-091-3/+3
|
* Add support for sqlite3 to db.luaTed Trask2013-10-091-2/+16
|
* Change db.name to db.database and fix bug with calling db.escapeTed Trask2013-09-291-4/+4
|
* Send error if listdatabases failsTed Trask2013-09-281-0/+4
|
* Added db.listdatabases function and simplified export of db functionsTed Trask2013-09-281-20/+40
|
* First cut at new db.lua library to simplify database accessTed Trask2013-09-241-0/+154