load


Description:

public void load (Document document)

Load a returned document from Couchdb into this class instance. A common use case is to create a constructor called .from_document(), and call the load() method from there.

Parameters:

document An instance of Couchdb.Document