from rushdb import RushDB
db = RushDB(
"RUSHDB_API_TOKEN",
base_url="http://localhost:3000"
)
db.records.create_many(
"COMPANY",
{
"name": "Google LLC",
"address": "1600 Amphitheatre Parkway, Mountain View, CA 94043, USA",
"foundedAt": "1998-09-04T00:00:00.000Z",
"rating": 4.9,
"DEPARTMENT": [
{
"name": "Research & Development",
"description": "Innovating advanced technologies for AI and cloud computing.",
"PROJECT": [
{
"name": "Bard AI",
"description": "A cutting-edge model for language understanding.",
"active": True,
"budget": 1200000000,
"EMPLOYEE": [
{
"name": "Jeff Dean",
"position": "Head of AI Research",
"email": "jeff@google.com",
"salary": 3000000
}
]
}
]
}
]
}
)