File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
samples/samples-java/src/main/java/com/function Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 2323import java .io .IOException ;
2424import java .util .Optional ;
2525
26+ /**
27+ * This function uses two SQL output bindings to upsert the product in the request body to the
28+ * Products and ProductsWithIdentity tables.
29+ */
2630public class AddProductToTwoTables {
2731 @ FunctionName ("AddProductToTwoTables" )
2832 public HttpResponseMessage run (
Original file line number Diff line number Diff line change 1818
1919import java .util .Optional ;
2020
21+ /**
22+ * This function uses two SQL input bindings to get products from the Products and ProductsWithIdentity tables
23+ * and returns the combined results as a JSON array in the body of the HttpResponseMessage.
24+ */
2125public class GetProductsFromTwoTables {
2226 @ FunctionName ("GetProductsFromTwoTables" )
2327 public HttpResponseMessage run (
You can’t perform that action at this time.
0 commit comments