## Generated by Codox

# Youyesyet 0.2.2-SNAPSHOT

# youyesyet.cache

Caching wrappers for queries for youyesyet auto-generated by Application Description Language framework at 20190502T102201.269Z

### get-address

Auto-generated function to select one record from the `addresses` table. Expects the following key(s) to be present in `params`: `#{"id"}`. Returns a map containing the following keys: `clojure.lang.LazySeq@490531d1`. Results will be held in cache for 1000000 seconds.

view source

### get-authority

Auto-generated function to select one record from the `authorities` table. Expects the following key(s) to be present in `params`: `#{"id"}`. Returns a map containing the following keys: `clojure.lang.LazySeq@352cf516`. Results will be held in cache for 10000000 seconds.

view source

### get-canvasser

Auto-generated function to select one record from the `canvassers` table. Expects the following key(s) to be present in `params`: `#{"id"}`. Returns a map containing the following keys: `clojure.lang.LazySeq@771caed2`. Results will be held in cache for 10000 seconds.

view source

### get-canvasser-by-username

Auto-generated function to select one record from the `canvassers` table. Expects the following key(s) to be present in `params`: `#{"id"}`. Returns a map containing the following keys: `clojure.lang.LazySeq@771caed2`. Results will be held in cache for 10000 seconds.

view source

### get-district

Auto-generated function to select one record from the `districts` table. Expects the following key(s) to be present in `params`: `#{"id"}`. Returns a map containing the following keys: `clojure.lang.LazySeq@1c48b9f5`. Results will be held in cache for 10000000 seconds.

view source

### get-dwelling

Auto-generated function to select one record from the `dwellings` table. Expects the following key(s) to be present in `params`: `#{"id"}`. Returns a map containing the following keys: `clojure.lang.LazySeq@f0e6e3d6`. Results will be held in cache for 1000000 seconds.

view source

### get-elector

Auto-generated function to select one record from the `electors` table. Expects the following key(s) to be present in `params`: `#{"id"}`. Returns a map containing the following keys: `clojure.lang.LazySeq@c7611432`. Results will be held in cache for 100000 seconds.

view source

### get-followupmethod

Auto-generated function to select one record from the `followupmethods` table. Expects the following key(s) to be present in `params`: `#{"id"}`. Returns a map containing the following keys: `clojure.lang.LazySeq@3c72487c`. Results will be held in cache for 10000000 seconds.

view source

### get-followuprequest

Auto-generated function to select one record from the `followuprequests` table. Expects the following key(s) to be present in `params`: `#{"id"}`. Returns a map containing the following keys: `clojure.lang.LazySeq@ae10eaf`. Results will be held in cache for 100 seconds.

view source

### get-gender

Auto-generated function to select one record from the `genders` table. Expects the following key(s) to be present in `params`: `#{"id"}`. Returns a map containing the following keys: `clojure.lang.LazySeq@3c72487c`. Results will be held in cache for 1000000 seconds.

view source

### get-intention

Auto-generated function to select one record from the `intentions` table. Expects the following key(s) to be present in `params`: `#{"id"}`. Returns a map containing the following keys: `clojure.lang.LazySeq@27b31781`. Results will be held in cache for 100 seconds.

view source

### get-issue

Auto-generated function to select one record from the `issues` table. Expects the following key(s) to be present in `params`: `#{"id"}`. Returns a map containing the following keys: `clojure.lang.LazySeq@606826e4`. Results will be held in cache for 1000 seconds.

view source

### get-option

Auto-generated function to select one record from the `options` table. Expects the following key(s) to be present in `params`: `#{"id"}`. Returns a map containing the following keys: `clojure.lang.LazySeq@3c72487c`. Results will be held in cache for 10000000 seconds.

view source

### get-role

Auto-generated function to select one record from the `roles` table. Expects the following key(s) to be present in `params`: `#{"id"}`. Returns a map containing the following keys: `clojure.lang.LazySeq@a81570c6`. Results will be held in cache for 10000000 seconds.

view source

### get-role-by-name

Auto-generated function to select one record from the `roles` table. Expects the following key(s) to be present in `params`: `#{"id"}`. Returns a map containing the following keys: `clojure.lang.LazySeq@a81570c6`. Results will be held in cache for 10000000 seconds.

view source

### get-team

Auto-generated function to select one record from the `teams` table. Expects the following key(s) to be present in `params`: `#{"id"}`. Returns a map containing the following keys: `clojure.lang.LazySeq@31118d64`. Results will be held in cache for 10000 seconds.

view source

### get-visit

Auto-generated function to select one record from the `visits` table. Expects the following key(s) to be present in `params`: `#{"id"}`. Returns a map containing the following keys: `clojure.lang.LazySeq@a7611ce6`. Results will be held in cache for 100 seconds.

view source

### list-addresses

Auto-generated function to select all records from the `addresses` table. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:address :postcode :district_id :latitude :longitude :dwellings :locality :id)`. Results will be held in cache for 1000000 seconds.

view source

### list-authorities

Auto-generated function to select all records from the `authorities` table. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:request-token-uri :access-token-uri :authorize-uri :consumer-key :consumer-secret :id)`. Results will be held in cache for 10000000 seconds.

view source

### list-canvassers

Auto-generated function to select all records from the `canvassers` table. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:username :fullname :avatar :bio :elector_id :address_id :phone :email :authority_id :authorised :roles :expertise :teams :id)`. Results will be held in cache for 10000 seconds.

view source

### list-districts

Auto-generated function to select all records from the `districts` table. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:name :id)`. Results will be held in cache for 10000000 seconds.

view source

### list-dwellings

Auto-generated function to select all records from the `dwellings` table. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:address_id :sub-address :electors :id)`. Results will be held in cache for 1000000 seconds.

view source

### list-electors

Auto-generated function to select all records from the `electors` table. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:name :dwelling_id :phone :email :gender :signature :id)`. Results will be held in cache for 100000 seconds.

view source

### list-followupmethods

Auto-generated function to select all records from the `followupmethods` table. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:id)`. Results will be held in cache for 10000000 seconds.

view source

### list-followuprequests

Auto-generated function to select all records from the `followuprequests` table. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:elector_id :visit_id :issue_id :issue_detail :method_id :method_detail :locked_by :locked :actions :id)`. Results will be held in cache for 100 seconds.

view source

### list-genders

Auto-generated function to select all records from the `genders` table. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:id)`. Results will be held in cache for 1000000 seconds.

view source

### list-intentions

Auto-generated function to select all records from the `intentions` table. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:visit_id :elector_id :option_id :locality :id)`. Results will be held in cache for 100 seconds.

view source

### list-issues

Auto-generated function to select all records from the `issues` table. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:url :current :brief :experts :id)`. Results will be held in cache for 1000 seconds.

view source

### list-options

Auto-generated function to select all records from the `options` table. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:id)`. Results will be held in cache for 10000000 seconds.

view source

### list-roles

Auto-generated function to select all records from the `roles` table. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:name :members :id)`. Results will be held in cache for 10000000 seconds.

view source

### list-teams

Auto-generated function to select all records from the `teams` table. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:name :district_id :latitude :longitude :members :organisers :events :id)`. Results will be held in cache for 10000 seconds.

view source

### list-visits

Auto-generated function to select all records from the `visits` table. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:address_id :canvasser_id :date :id)`. Results will be held in cache for 100 seconds.

view source

### search-strings-addresses

Auto-generated function to select all records from the `addresses` table with any text field matching the value of the key `:pattern` which should be in the request. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:address :postcode :district_id :latitude :longitude :dwellings :locality :id)`. Results will be held in cache for 1000000 seconds.

view source

### search-strings-authorities

Auto-generated function to select all records from the `authorities` table with any text field matching the value of the key `:pattern` which should be in the request. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:request-token-uri :access-token-uri :authorize-uri :consumer-key :consumer-secret :id)`. Results will be held in cache for 10000000 seconds.

view source

### search-strings-canvassers

Auto-generated function to select all records from the `canvassers` table with any text field matching the value of the key `:pattern` which should be in the request. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:username :fullname :avatar :bio :elector_id :address_id :phone :email :authority_id :authorised :roles :expertise :teams :id)`. Results will be held in cache for 10000 seconds.

view source

### search-strings-districts

Auto-generated function to select all records from the `districts` table with any text field matching the value of the key `:pattern` which should be in the request. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:name :id)`. Results will be held in cache for 10000000 seconds.

view source

### search-strings-dwellings

Auto-generated function to select all records from the `dwellings` table with any text field matching the value of the key `:pattern` which should be in the request. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:address_id :sub-address :electors :id)`. Results will be held in cache for 1000000 seconds.

view source

### search-strings-electors

Auto-generated function to select all records from the `electors` table with any text field matching the value of the key `:pattern` which should be in the request. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:name :dwelling_id :phone :email :gender :signature :id)`. Results will be held in cache for 100000 seconds.

view source

### search-strings-followupmethods

Auto-generated function to select all records from the `followupmethods` table with any text field matching the value of the key `:pattern` which should be in the request. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:id)`. Results will be held in cache for 10000000 seconds.

view source

### search-strings-followuprequests

Auto-generated function to select all records from the `followuprequests` table with any text field matching the value of the key `:pattern` which should be in the request. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:elector_id :visit_id :issue_id :issue_detail :method_id :method_detail :locked_by :locked :actions :id)`. Results will be held in cache for 100 seconds.

view source

### search-strings-genders

Auto-generated function to select all records from the `genders` table with any text field matching the value of the key `:pattern` which should be in the request. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:id)`. Results will be held in cache for 1000000 seconds.

view source

### search-strings-intentions

Auto-generated function to select all records from the `intentions` table with any text field matching the value of the key `:pattern` which should be in the request. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:visit_id :elector_id :option_id :locality :id)`. Results will be held in cache for 100 seconds.

view source

### search-strings-issues

Auto-generated function to select all records from the `issues` table with any text field matching the value of the key `:pattern` which should be in the request. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:url :current :brief :experts :id)`. Results will be held in cache for 1000 seconds.

view source

### search-strings-options

Auto-generated function to select all records from the `options` table with any text field matching the value of the key `:pattern` which should be in the request. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:id)`. Results will be held in cache for 10000000 seconds.

view source

### search-strings-roles

Auto-generated function to select all records from the `roles` table with any text field matching the value of the key `:pattern` which should be in the request. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:name :members :id)`. Results will be held in cache for 10000000 seconds.

view source

### search-strings-teams

Auto-generated function to select all records from the `teams` table with any text field matching the value of the key `:pattern` which should be in the request. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:name :district_id :latitude :longitude :members :organisers :events :id)`. Results will be held in cache for 10000 seconds.

view source

### search-strings-visits

Auto-generated function to select all records from the `visits` table with any text field matching the value of the key `:pattern` which should be in the request. If the keys `(:limit :offset)` are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: `(:address_id :canvasser_id :date :id)`. Results will be held in cache for 100 seconds.

view source