net.liftweb.mongodb.MongoDB

object MongoDB

object MongoDB

 extends ScalaObject




Source: Mongo.scala(68)

 Constructors

def this

 Methods

!=.. final def !=(arg0 : Object) Boolean AnyRef
!=.. final def !=(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Object) Boolean AnyRef
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
close.. def close Unit
defineDb.. def defineDb(name : MongoIdentifier, address : MongoAddress) Unit
defineDbAuth.. def defineDbAuth(name : MongoIdentifier, address : MongoAddress, username : String, password : String) Unit
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
use.. def use[T](f : (DB) => T)
Executes function {@code f} with the mongo named {@code name} [details]
Uses the default mongoIdentifier
T
use.. def use[T](name : MongoIdentifier)(f : (DB) => T)
Executes function {@code f} with the mongo db named {@code name}
T
useCollection.. def useCollection[T](collectionName : String)(f : (DBCollection) => T)
Same as above except uses DefaultMongoIdentifier
T
useCollection.. def useCollection[T](name : MongoIdentifier, collectionName : String)(f : (DBCollection) => T)
Executes function {@code f} with the mongo named {@code name} and collection names {@code collectionName} [details]
Gets a collection for you.
T
useSession.. def useSession[T](f : (DB) => T)
Same as above except uses DefaultMongoIdentifier
T
useSession.. def useSession[T](name : MongoIdentifier)(f : (DB) => T)
Executes function {@code f} with the mongo db named {@code name} [details]
Uses the same socket for the entire function block. Allows multiple operations on the same thread/socket connection and the use of getLastError. See: http://www.mongodb.org/display/DOCS/Java+Driver+Concurrency
T
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.