|
Collection classIntroduction
Class synopsismysql_xdevapi\Collection
class mysql_xdevapi\Collection
implements
mysql_xdevapi\SchemaObject {
/* Properties */
public
$name;
/* Methods */
public mysql_xdevapi\CollectionAdd add(mixed
$document )public mysql_xdevapi\Result addOrReplaceOne(string
$id , string $doc )public int count()
public void createIndex(string
$index_name , string $index_desc_json )public bool dropIndex(string
$index_name )public bool existsInDatabase()
public mysql_xdevapi\CollectionFind find(string
$search_condition = ?)public string getName()
public Document getOne(string
$id )public Schema Object getSchema()
public Session getSession()
public mysql_xdevapi\CollectionModify modify(string
$search_condition )public mysql_xdevapi\CollectionRemove remove(string
$search_condition )public mysql_xdevapi\Result removeOne(string
$id )public mysql_xdevapi\Result replaceOne(string
}$id , string $doc )Properties
|