1
0
Fork 0
mirror of synced 2024-09-10 06:36:39 +12:00
appwrite/app/sdks/python/docs/examples/database/create-document.md

14 lines
242 B
Markdown
Raw Normal View History

2020-01-29 02:29:26 +13:00
from appwrite.client import Client
from appwrite.services.database import Database
client = Client()
(client
.set_project('')
.set_key('')
)
database = Database(client)
2020-02-14 19:28:54 +13:00
result = database.create_document('[COLLECTION_ID]', {}, {}, {})