Thanks for letting me know about Orbit model. Its a bit hard to follow since there are no comments. Also could not fing any __newindex metamethod so I wonder how to they manage writing to tables directly going to database.
I am doing it so that the user may just as well plug in this model to their existing program without any change to the table manipulation code. The table writes and reads are all handled by metamethods and I plan to accommodate these modified tables by temporarily replacing global ipars and pairs functions.
Luiz,