mongoDB-0.8.1: A driver for MongoDB
Database.MongoDB.Internal.Util
Description
Miscellaneous general functions and Show, Eq, and Ord instances for PortID
Synopsis
bitOr :: Bits a => [a] -> aSource
bit-or all numbers together
(<.>) :: UString -> UString -> UStringSource
Concat first and second together with period in between. Eg. "hello" <.> "world" = "hello.world"
"hello" <.> "world" = "hello.world"
true1 :: Label -> Document -> BoolSource
Is field's value a 1 or True (MongoDB use both Int and Bools for truth values). Error if field not in document or field not a Num or Bool.