webmcp

diff libraries/mondelefant/mondelefant_native.autodoc.lua @ 440:66d7a0ac9c9d

Allow <db_handle>:create_list(...) to create a non-empty list by passing a table as argument (needed for references)
author jbe
date Tue Feb 09 20:09:34 2016 +0100 (2016-02-09)
parents 1dbbe4c62f08
children
line diff
     1.1 --- a/libraries/mondelefant/mondelefant_native.autodoc.lua	Fri Feb 05 01:26:00 2016 +0100
     1.2 +++ b/libraries/mondelefant/mondelefant_native.autodoc.lua	Tue Feb 09 20:09:34 2016 +0100
     1.3 @@ -93,10 +93,12 @@
     1.4  
     1.5  
     1.6  --[[--
     1.7 -db_list =                  -- database result being an empty list
     1.8 -<db_handle>:create_list()
     1.9 +db_list =                  -- database result being an empty list (or filled list)
    1.10 +<db_handle>:create_list(
    1.11 +  tbl                      -- optional table to be converted to a filled list
    1.12 +)
    1.13  
    1.14 -Creates an empty database result representing a list. The used meta-table is "result_metatable". The attribute "_connection" is set to the database handle, and the attribute "_type" is set to "list". The attribute "_class" is initialized to the default class prototype "class_prototype" of the module.
    1.15 +Creates a database result representing a list. The used meta-table is "result_metatable". The attribute "_connection" is set to the database handle, and the attribute "_type" is set to "list". The attribute "_class" is initialized to the default class prototype "class_prototype" of the module.
    1.16  
    1.17  --]]--
    1.18  -- implemented in mondelefant_native.c as

Impressum / About Us