# HG changeset patch # User jbe # Date 1452044635 -3600 # Node ID 0cb4bf644f1b01367a7530cb08f099581432b2a4 # Parent 04172238d79baa1b7160991213e6684665e6ccf6 Updated mondelefant.connect{...} documentation diff -r 04172238d79b -r 0cb4bf644f1b libraries/mondelefant/mondelefant_native.autodoc.lua --- a/libraries/mondelefant/mondelefant_native.autodoc.lua Wed Jan 06 02:39:50 2016 +0100 +++ b/libraries/mondelefant/mondelefant_native.autodoc.lua Wed Jan 06 02:43:55 2016 +0100 @@ -4,7 +4,6 @@ errmsg, -- error message db_error -- error object mondelefant.connect{ - engine = "postgresql", -- no other engine is supported conninfo = conninfo, -- string passed directly to PostgreSQL's libpq host = host, -- hostname or directory with leading slash where Unix-domain socket resides hostaddr = hostaddr, -- IPv4, or IPv6 address if supported @@ -16,7 +15,7 @@ ... } -Opens a new database connection and returns a handle for that connection. You may chose to specify host, port, dbname, etc. as seperated arguments, or to use a "conninfo" string, which is directly passed to PostgreSQL's libpq. +Opens a new database connection and returns a handle for that connection. You may chose to specify host, port, dbname, etc. as seperated arguments, or to use a "conninfo" string, which is directly passed to PostgreSQL's libpq. In the latter case, the "conninfo" string may also be passed directly as first argument to the connect function without supplying a table. --]]-- -- implemented in mondelefant_native.c as