From 64ce5052e1c2495bcbc78f732e8ece2f4c8375ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 5 Aug 2007 15:39:16 +0000 Subject: Make bsddb use bytes as keys and values. Add StringKeys and StringValues classes. Fix test suite. --- Doc/lib/libbsddb.tex | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Doc/lib') diff --git a/Doc/lib/libbsddb.tex b/Doc/lib/libbsddb.tex index 793237b123..8f233242df 100644 --- a/Doc/lib/libbsddb.tex +++ b/Doc/lib/libbsddb.tex @@ -93,6 +93,17 @@ function. Consult the Berkeley DB documentation for their use and interpretation. \end{funcdesc} +\begin{classdesc}{StringKeys}{db} + Wrapper class around a DB object that supports string keys + (rather than bytes). All keys are encoded as UTF-8, then passed + to the underlying object. \versionadded{3.0} +\end{classdesc} + +\begin{classdesc}{StringValues}{db} + Wrapper class around a DB object that supports string values + (rather than bytes). All values are encoded as UTF-8, then passed + to the underlying object. \versionadded{3.0} +\end{classdesc} \begin{seealso} \seemodule{dbhash}{DBM-style interface to the \module{bsddb}} -- cgit v1.2.1