saveTypedDocument<D extends TypedDocumentObject<Object> , MD extends TypedMutableDocumentObject<TypedDocumentObject<Object> , TypedDocumentObject<Object> > > abstract method
- @Deprecated('Use defaultCollection.saveTypedDocument instead.')
- @override
- @experimental
- @useResult
- TypedMutableDocumentObject<
D, MD> document
override
Creates and returns an object, which can be used to save a typed
document to this database.
A call to this method will not save the document to the database. Call one
of the methods of the returned object to finally save the document.
See also:
- SaveTypedDocument for the object used to save typed documents.
Implementation
@Deprecated('Use defaultCollection.saveTypedDocument instead.')
@override
@experimental
@useResult
SyncSaveTypedDocument<D, MD> saveTypedDocument<
D extends TypedDocumentObject,
MD extends TypedMutableDocumentObject
>(TypedMutableDocumentObject<D, MD> document);