MongoAgile.Examples.Api.ApiController (mongo_agile v0.7.0) View Source

ApiController example of use install_api

Link to this section Summary

Functions

Build the query 'delete_query'

Execute the query 'delete_query'

Build the query 'get_query'

Execute the query 'get_query'

Build the query 'patch_query'

Execute the query 'patch_query'

Build the query 'post_query'

Execute the query 'post_query'

Build the query 'put_query'

Execute the query 'put_query'

Link to this section Functions

Build the query 'delete_query'

Execute the query 'delete_query'

Pipeline of execution:

delete_before(args) # Optional |> delete_query() |> run_query() |> delete_after() # Optional

Build the query 'get_query'

Execute the query 'get_query'

Pipeline of execution:

get_before(args) # Optional |> get_query() |> run_query() |> get_after() # Optional

Build the query 'patch_query'

Execute the query 'patch_query'

Pipeline of execution:

patch_before(args) # Optional |> patch_query() |> run_query() |> patch_after() # Optional

Build the query 'post_query'

Execute the query 'post_query'

Pipeline of execution:

post_before(args) # Optional |> post_query() |> run_query() |> post_after() # Optional

Build the query 'put_query'

Execute the query 'put_query'

Pipeline of execution:

put_before(args) # Optional |> put_query() |> run_query() |> put_after() # Optional

See MongoAgile.Queries.AgilQuery.run_query/1.