Use Case Query Collection
Summary:: Select records from a collection matching given criteria.
Assumptions:: There is a searchable collection.
Description::
- Typically use the local or an external database
- specify search terms
- obtain a result set, possibly empty
- perhaps iterate to refine or extend the result set.
Result:: RecordSet
Exceptions:: No record matches the criteria, or external error.
Actors:: user
Notes::
See also::
Example
connection = Query.Connection ('LOC')
query = Query.Query (connection,
Query.Term (autor='Luhmann, Niklas'))
result = query.execute ()
print 'query returns %d items ' %(len (result))
Display
xxx
