webmcp
diff libraries/mondelefant/mondelefant_native.autodoc.lua @ 436:1dbbe4c62f08
Methods :create_object() and :create_list() ignore any additional table argument; "_class" attribute is always set; "_col" proxy respects foreign keys
author | jbe |
---|---|
date | Wed Jan 20 20:43:23 2016 +0100 (2016-01-20) |
parents | 05e56ca2f324 |
children | 66d7a0ac9c9d |
line diff
1.1 --- a/libraries/mondelefant/mondelefant_native.autodoc.lua Sat Jan 16 04:44:16 2016 +0100 1.2 +++ b/libraries/mondelefant/mondelefant_native.autodoc.lua Wed Jan 20 20:43:23 2016 +0100 1.3 @@ -96,7 +96,7 @@ 1.4 db_list = -- database result being an empty list 1.5 <db_handle>:create_list() 1.6 1.7 -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". 1.8 +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.9 1.10 --]]-- 1.11 -- implemented in mondelefant_native.c as 1.12 @@ -108,7 +108,7 @@ 1.13 db_object = -- database result being an empty object (row) 1.14 <db_handle>:create_object() 1.15 1.16 -Creates an empty database result representing an object (row). The used meta-table is "result_metatable". The attribute "_connection" is set to the database handle, and the attribute "_type" is set to "object". Additionally the attributes "_data", "_dirty" and "_ref" are initialized with an empty table. TODO: Documentation of _data, _dirty and _ref. 1.17 +Creates an empty database result representing an object (row). The used meta-table is "result_metatable". The attribute "_connection" is set to the database handle, and the attribute "_type" is set to "object". The attribute "_class" is initialized to the default class prototype "class_prototype" of the module. Additionally the attribute "_col" is set to a proxy table, and the attributes "_data", "_dirty" and "_ref" are initialized with an empty table. TODO: Documentation of _data, _dirty and _ref. 1.18 1.19 --]]-- 1.20 -- implemented in mondelefant_native.c as