addPendingDocument
The addPendingDocument
mutation will take in the collection name as a parameter, as well as the new relative path.
Note: addPendingDocument
does not currently support fields of any kind, just creating the record.
mutation {addPendingDocument(collection: "post", relativePath: "pedro.json") {__typename}}
{"data": {"addPendingDocument": {"__typename": "Post"}}}
Ready to try out some of these queries using your specific schema? Try running the Tina CLI and testing them out using the Altair clientLast Edited: August 15, 2024
© TinaCMS 2019–2024