azure / data-api-builder Goto Github PK
View Code? Open in Web Editor NEWData API builder provides modern REST and GraphQL endpoints to your Azure Databases and on-prem stores.
Home Page: https://aka.ms/dab/docs
License: MIT License
Data API builder provides modern REST and GraphQL endpoints to your Azure Databases and on-prem stores.
Home Page: https://aka.ms/dab/docs
License: MIT License
Abstract Operation | SQL DB / PG | Doc API | REST | Notes |
---|---|---|---|---|
ReplaceOne | UPDATE <1 row w/ overwrite> | replace(items) | PUT Orders/[PK] w/ flag | Full replace – same as upsert, but without insert |
ReplaceMany | UPDATE <N rows w/ overwrite> | bulk(replace(items)) | PUT Orders w/ flag | |
FindById | SELECT WHERE PK= | readItem(SK, ID) | GET Orders/ | GetOrder(pk) |
---|---|---|---|---|
FindMany | SELECT WHERE | SELECT WHERE | GET Orders/?f=<> | GetOrders(filter) |
Given GraphQL schema, Data Gateway should be able to generate select query implicitly.
System.Text.Json seems to have limited abilities in terms of writing/creating a JsonDocument. So we need migrate the runtime to use Newtonsoft.Json instead of System.Text.Json to achieve the relevant functionalities like creating JArray with elements etc.
Abstract Operation | SQL DB / PG | Doc API | REST | Notes |
---|---|---|---|---|
InsertMany | INSERT | bulk(inserts(items)) | POST Orders |
Point lookup by Id/primary key for select,update,insert
Simple Query with filter (no perf expectation, and no pagination)
Abstract Operation | SQL DB / PG | Doc API | REST | Notes |
---|---|---|---|---|
UpsertById | “UPSERT” <1 row w/ overwrite> | upsertItem(item) | PUT Orders/[PK] | |
Due to complexity in implementation in CosmosDB, this will also be in M1.
Verify PrimaryKey field names sent in the url match the ones obtained from the table schema
Abstract Operation | SQL DB / PG | Doc API | REST | Notes |
---|---|---|---|---|
InsertOne | INSERT <1 row> | createItem(item) | POST Orders |
Abstract Operation | SQL DB / PG | Doc API | REST | Notes |
---|---|---|---|---|
UpsertMany | “UPSERT” <N row w/ overwrite> | Bulk(upserts(items)) | PUT Orders | |
See this RFP: https://github.com/Azure/project-hawaii/issues/11
Abstract Operation | SQL DB / PG | Doc API | REST | Notes |
---|---|---|---|---|
DeleteById | DELETE <1 row> | deleteItem(item) | DELETE Orders/[PK] | |
Today we have a FileMetadataProvider.
Implement a DatabaseMetadataProvider that reads the schema from database and fills in the same config values that we do today using the FileMetadataProvider.
The goal would be to get to a point where we can run all tests using either the File or the DatabaseMetadataProvider
Docker container should not be shipped with a config file. We need to specify the location of config file that Data Gateway should look for. Either via environment variable or using well-known path when mount docker volume that contains config file.
Simple public, authenticated, or none authorization
Abstract Operation | SQL DB / PG | Doc API | REST | Notes |
---|---|---|---|---|
UpdateOne | UPDATE <1 row> | patchItem(item) | PATCH Orders/[PK] | Partial update |
UpdateMany | UPDATE | bulk(patches(item)) | PATCH Orders | |
See this RFP : https://github.com/Azure/project-hawaii/issues/11
Abstract Operation | SQL DB / PG | Doc API | REST | Notes |
---|---|---|---|---|
DeleteMany | DELETE | | DELETE Orders | * Body should just need […PKs] |
Allow specifiying something like a --watch
to make the runtime watch the provided configs and reload when they change.
Relevant comment from @jarupatj in #50:
You should look at using IOptionsMonitor
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/options?view=aspnetcore-5.0#options-interfaces
Only for point look up by Id/primary key
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.