https://github.com/jonasfranz/cosmosdb
CosmosDB SQL-API client for Dart
https://github.com/jonasfranz/cosmosdb
cosmosdb dart flutter
Last synced: 3 months ago
JSON representation
CosmosDB SQL-API client for Dart
- Host: GitHub
- URL: https://github.com/jonasfranz/cosmosdb
- Owner: jonasfranz
- License: apache-2.0
- Created: 2021-03-15T19:18:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-31T19:18:50.000Z (over 1 year ago)
- Last Synced: 2024-09-17T09:47:22.620Z (about 1 year ago)
- Topics: cosmosdb, dart, flutter
- Language: Dart
- Homepage:
- Size: 59.6 KB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# cosmosdb
[](https://codecov.io/gh/jonasfranz/cosmosdb)
[](https://github.com/jonasfranz/cosmosdb/actions)
[](https://pub.dev/packages/cosmosdb)
[](https://pub.dev/packages/cosmosdb/score)
This projects offers an API client to interact with the CosmosDB SQL-API in Dart. This project is an early state and not considered stable.## Getting Started
The database can be accessed via the CosmosDB client:
```dart
import 'package:cosmosdb/cosmosdb.dart';void main() {
final cosmosDB = CosmosDB(
masterKey: '',
baseUrl: '',
);
// get all documents from a collection
final documents = cosmosDB.documents.list('', '');
print(documents);
}
```