Typesense-readme-4.py
· 167 B · Python
Ham
document = {
"id": "124",
"company_name": "Stark Industries",
"num_employees": 5215,
"country": "USA"
}
client.collections['companies'].documents.create(document)
1 | document = { |
2 | "id": "124", |
3 | "company_name": "Stark Industries", |
4 | "num_employees": 5215, |
5 | "country": "USA" |
6 | } |
7 | |
8 | client.collections['companies'].documents.create(document) |