Package gavo :: Package web :: Module jsonquery
[frames] | no frames]

Module jsonquery

source code

Fast Web->DB->JSON machinery, for now only for the portal page. It's not quite clear to me yet what to do with this kind of thing.

It would seem we could do with more of these very lightweight things; on the other hand, these bypass all metadata mangement... ah, let's see.

Classes
  JSONQuery
A resource returning Json for the database query given in the query class attribute (and potentially some arguments).
  Titles
  Subjects
  Authors
  ByFulltext
  BySubject
  ByAuthor
  ServiceInfo
  PortalPage
Variables
  RESMETA_FIELDS = 'title, accessurl, referenceurl, sourcerd, re...
  __package__ = 'gavo.web'
Variables Details

RESMETA_FIELDS

Value:
'title, accessurl, referenceurl, sourcerd, resid, owner, browseable'