AbstractCollection
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Invoked when a document has been sent from the server.
Declaration
Swift
public func documentWasAdded(collection:String, id:String, fields:NSDictionary?) {}Parameters
collectionthe string name of the collection to which the document belongs
idthe string unique id that identifies the document on the server
fieldsan optional NSDictionary with the documents properties
-
Invoked when a document has been changed on the server.
Declaration
Swift
public func documentWasChanged(collection:String, id:String, fields:NSDictionary?, cleared:[String]?) {}Parameters
collectionthe string name of the collection to which the document belongs
idthe string unique id that identifies the document on the server
fieldsan optional NSDictionary with the documents properties
clearedOptional array of strings (field names to delete)
-
Invoked when a document has been removed on the server.
Declaration
Swift
public func documentWasRemoved(collection:String, id:String) {}Parameters
collectionthe string name of the collection to which the document belongs
idthe string unique id that identifies the document on the server
AbstractCollection Class Reference