MongoDB

1.0.0

A MongoDB client compatible with Swift Cloud and Fastly Compute@Edge
swift-cloud/MongoDB

What's New

v1.0.0 - Initial Release

2023-02-18T17:55:59Z

Initial Release 🥇

MongoDB

A MongoDB Atlas Data API library compatible with all Apple platforms, Swift Cloud and Fastly Compute@Edge

Usage

import MongoDB

let client = MongoClient(
    endpoint: "https://us-east-1.aws.data.mongodb-api.com/app/data-12345/endpoint/data/v1",
    cluster: "cluster-prod",
    database: "test",
    apiKey: "..."
)

let user = try await client
    .collection("users")
    .send(.findOne())
    .document(User.self)

Description

  • Swift Tools 5.7.0
View More Packages from this Author

Dependencies

Last updated: Thu Oct 17 2024 15:06:23 GMT-0900 (Hawaii-Aleutian Daylight Time)