webmcp

changeset 403:0cb4bf644f1b

Updated mondelefant.connect{...} documentation
author jbe
date Wed Jan 06 02:43:55 2016 +0100 (2016-01-06)
parents 04172238d79b
children b42a6c9cc322
files libraries/mondelefant/mondelefant_native.autodoc.lua
line diff
     1.1 --- a/libraries/mondelefant/mondelefant_native.autodoc.lua	Wed Jan 06 02:39:50 2016 +0100
     1.2 +++ b/libraries/mondelefant/mondelefant_native.autodoc.lua	Wed Jan 06 02:43:55 2016 +0100
     1.3 @@ -4,7 +4,6 @@
     1.4  errmsg,                               -- error message
     1.5  db_error                              -- error object
     1.6  mondelefant.connect{
     1.7 -  engine          = "postgresql",     -- no other engine is supported
     1.8    conninfo        = conninfo,         -- string passed directly to PostgreSQL's libpq
     1.9    host            = host,             -- hostname or directory with leading slash where Unix-domain socket resides
    1.10    hostaddr        = hostaddr,         -- IPv4, or IPv6 address if supported
    1.11 @@ -16,7 +15,7 @@
    1.12    ...
    1.13  }  
    1.14  
    1.15 -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.
    1.16 +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.
    1.17  
    1.18  --]]--
    1.19  -- implemented in mondelefant_native.c as

Impressum / About Us