saveTypedDocument<D extends TypedDocumentObject<Object> , MD extends TypedMutableDocumentObject<TypedDocumentObject<Object> , TypedDocumentObject<Object> > > abstract method
- @override
- @experimental
- @useResult
- TypedMutableDocumentObject<
D, MD> document
override
Creates and returns an object, which can be used to save a typed
document
to this collection.
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
@override
@experimental
@useResult
SyncSaveTypedDocument<D, MD> saveTypedDocument<D extends TypedDocumentObject,
MD extends TypedMutableDocumentObject>(
TypedMutableDocumentObject<D, MD> document,
);