Last active
October 18, 2022 07:01
-
-
Save xlight05/2fd9216b8d07a7964078cc24eb1423e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service /dashboard on ep { | |
resource function get .(@af:CosmosDBInput { | |
connectionStringSetting: "CosmosDBConnection", | |
databaseName: "reviewdb", | |
collectionName: "c1", | |
sqlQuery: "SELECT * FROM Items" | |
} Entry[] entries) returns @af:HttpOutput Entry[]|error { | |
return entries; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment