[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Simple DB-like tables in pure Lua with validation
- From: Lorenzo Donati <lorenzodonatibz@...>
- Date: Wed, 24 Nov 2010 16:11:01 +0100
Lorenzo Donati wrote:
Pierre-Yves Gérardy wrote:
On Tue, Nov 23, 2010 at 09:03, Lorenzo Donati
if not scheme:validate(record)
then error(...) end
Wouldn't this fit your bill?
I'll give it a try and post a better answer when I have time.
Thank you for the prompt reply!
Here's the better answer :-)
I had to modify it substantially to adapt to my use case (still working
on it), but it was a very good starting point!
Thank you very much!