Mercurial > hg > ChinaGisRestApi
comparison RestDbInterface.py @ 7:bd52d9445a41
trying to rework
author | casties |
---|---|
date | Tue, 20 Jul 2010 15:09:32 +0200 |
parents | 7539a9e69365 |
children | a9a49f5765c9 |
comparison
equal
deleted
inserted
replaced
5:7539a9e69365 | 7:bd52d9445a41 |
---|---|
19 from Products.ZSQLMethods.SQL import SQLConnectionIDs | 19 from Products.ZSQLMethods.SQL import SQLConnectionIDs |
20 | 20 |
21 | 21 |
22 class RestDbInterface(Folder): | 22 class RestDbInterface(Folder): |
23 """Object for RESTful database queries | 23 """Object for RESTful database queries |
24 path schema: /[XML,JSON,HTML]/{schema}/{table}/ | 24 path schema: /db/{schema}/{table}/ |
25 omitting table gives a list of schemas | 25 omitting table gives a list of schemas |
26 omitting table and schema gives a list of schemas | 26 omitting table and schema gives a list of schemas |
27 """ | 27 """ |
28 implements(IPublishTraverse) | 28 implements(IPublishTraverse) |
29 | 29 |