dannote / mod-ndb

Automatically exported from code.google.com/p/mod-ndb
0 stars 0 forks source link

CHECK #70

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In httpd.conf, support 
 <Location /ndb/foo> 
    Table x
    AllowUpdate c1 c2 c3 
    Check  ( c1  + c3 < 99 ) AND ( c2 ~ /regex/) 
 </Location>

On an update or insert, if the check fails, return a 403 Forbidden with a short 
message.

Original issue reported on code.google.com by john.david.duncan on 7 May 2008 at 6:38