View Source MongoAgile.Examples.Customer.CustomerController (mongo_agile v0.8.1-rc)

CustomerController Example of queries

Link to this section Summary

Functions

Build the query 'create_customers_query'

Execute the query 'create_customers_query'

Build the query 'create_query'

Execute the query 'create_query'

Build the query 'get_active_customers_query'

Execute the query 'get_active_customers_query'

Build the query 'get_all_query'

Execute the query 'get_all_query'

Build the query 'get_query'

Execute the query 'get_query'

Build the query 'remove_all_query'

Execute the query 'remove_all_query'

Build the query 'remove_query'

Execute the query 'remove_query'

Build the query 'validate_query'

Execute the query 'validate_query'

Link to this section Functions

Link to this function

create_customers_query(arg)

View Source

Build the query 'create_customers_query'

Link to this function

create_customers_run_query(arg)

View Source

Execute the query 'create_customers_query'

pipeline-of-execution

Pipeline of execution:

create_customers_before(args) # Optional |> create_customers_query() |> exe_query() |> create_customers_after() # Optional

Build the query 'create_query'

Execute the query 'create_query'

pipeline-of-execution

Pipeline of execution:

create_before(args) # Optional |> create_query() |> exe_query() |> create_after() # Optional

See MongoAgile.Queries.AgilQuery.exe_query/1.

Link to this function

get_active_customers_query(arg)

View Source

Build the query 'get_active_customers_query'

Link to this function

get_active_customers_run_query(arg)

View Source

Execute the query 'get_active_customers_query'

pipeline-of-execution

Pipeline of execution:

get_active_customers_before(args) # Optional |> get_active_customers_query() |> exe_query() |> get_active_customers_after() # Optional

Build the query 'get_all_query'

Execute the query 'get_all_query'

pipeline-of-execution

Pipeline of execution:

get_all_before(args) # Optional |> get_all_query() |> exe_query() |> get_all_after() # Optional

Build the query 'get_query'

Execute the query 'get_query'

pipeline-of-execution

Pipeline of execution:

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

Build the query 'remove_all_query'

Link to this function

remove_all_run_query(arg)

View Source

Execute the query 'remove_all_query'

pipeline-of-execution

Pipeline of execution:

remove_all_before(args) # Optional |> remove_all_query() |> exe_query() |> remove_all_after() # Optional

Build the query 'remove_query'

Execute the query 'remove_query'

pipeline-of-execution

Pipeline of execution:

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

Build the query 'validate_query'

Execute the query 'validate_query'

pipeline-of-execution

Pipeline of execution:

validate_before(args) # Optional |> validate_query() |> exe_query() |> validate_after() # Optional