MongoAgile.Examples.Schema.SchemaController (mongo_agile v0.7.0) View Source

SchemaController Example of controller have some example of using before and after methods.

Link to this section Summary

Functions

Build the query 'create_query'

Execute the query 'create_query'

Build the query 'get_query'

Execute the query 'get_query'

Build the query 'remove_query'

Execute the query 'remove_query'

Build the query 'replace_query'

Execute the query 'replace_query'

Link to this section Functions

Build the query 'create_query'

Execute the query 'create_query'

Pipeline of execution:

create_before(args) # Optional |> create_query() |> run_query() |> create_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 'remove_query'

Execute the query 'remove_query'

Pipeline of execution:

remove_before(args) # Optional |> remove_query() |> run_query() |> remove_after() # Optional

Build the query 'replace_query'

Execute the query 'replace_query'

Pipeline of execution:

replace_before(args) # Optional |> replace_query() |> run_query() |> replace_after() # Optional

See MongoAgile.Queries.AgilQuery.run_query/1.