webmcp
diff libraries/mondelefant/mondelefant.lua @ 509:6c819040ef6f
Further improvements to WebMCP documentation
| author | jbe |
|---|---|
| date | Mon Aug 21 01:33:17 2017 +0200 (2017-08-21) |
| parents | 8c19fa7950f6 |
| children | 257dd2933ab2 |
line diff
1.1 --- a/libraries/mondelefant/mondelefant.lua Sun Aug 20 23:27:20 2017 +0200 1.2 +++ b/libraries/mondelefant/mondelefant.lua Mon Aug 21 01:33:17 2017 +0200 1.3 @@ -929,6 +929,24 @@ 1.4 ------------------ 1.5 1.6 --[[-- 1.7 +<db_class>.schema 1.8 + 1.9 +Can be set if the underlying table is not in the default "public" schema of the PostgreSQL database. Leave untouched (i.e. nil) otherwise. 1.10 + 1.11 +--]]-- 1.12 +class_prototype.schema = nil 1.13 +--//-- 1.14 + 1.15 +--[[-- 1.16 +<db_class>.table 1.17 + 1.18 +Name of the table in the PostgreSQL database. Should be set in the model file of each model. 1.19 + 1.20 +--]]-- 1.21 +class_prototype.table = nil 1.22 +--//-- 1.23 + 1.24 +--[[-- 1.25 <db_class>.primary_key 1.26 1.27 Primary key of a database class (model). Defaults to "id".