create abstract method
Create a new document of type TModel
from the contents of the collection.
The document will be created with the collection path of modelQuery plus id
(if null
, a random uuid will be used).
コレクションの内容から新しくTModel
型のドキュメントを作成します。
modelQueryのコレクションパスにid
(null
の場合はランダムなuuidが使用されます)を加えたパスでドキュメントが作成されます。
Implementation
TModel create([String? id]);