CollectionIndexpurge()

Removes all the documents in this collection. This does not delete the collection, merely empties the collection ready for further updates

Usage

BOOLEAN = CollectionIndexpurge( collection )
Argument Summary
collection the name of the collection

Calling

Supports named-parameter calling allowing you to use the function like:

CollectionIndexpurge(
   collection=?
);

Supports passing parameters as a structure using ArgumentCollection:

CollectionIndexpurge( ArgumentCollection={
   collection : ?
} );

Extra

For more information on searching please visit Searching within OpenBD CFML