5 ms·
well you could always just represent it as: insert into rules (rule) values('don\'t require auth for /, but do require auth for /foo/*.jpg') The use of a db i
by grandalf 16y ago
well you could always just represent it as:
insert into rules (rule) values('don\'t require auth for /, but do require auth for /foo/*.jpg')
The use of a db is more to create a standard networkable interface for other clients to read/modify the config than a statement about the semantics of the config syntax.
- rlpb 16y agoYou could do that, but would it really be much different from this? data = config_file.read() "insert into config (config) values ('%s')" % data