CouchDB-0.8.0.3: CouchDB interfaceSource codeContentsIndex
Database.CouchDB.Safety
Description
Helps prevent injection attacks. At the time of writing, there is no official specification of the naming conventions. So, this is overly conservative.
Synopsis
data DB
db :: String -> DB
isDBString :: String -> Bool
data Doc
doc :: String -> Doc
isDocString :: String -> Bool
Documentation
data DB Source
Database name
show/hide Instances
db :: String -> DBSource
Returns a safe database name. Signals an error if the name is invalid.
isDBString :: String -> BoolSource
data Doc Source
Document name
show/hide Instances
doc :: String -> DocSource
Returns a safe document name. Signals an error if the name is invalid.
isDocString :: String -> BoolSource
Produced by Haddock version 2.3.0