3 lines
48 KiB
HTML
3 lines
48 KiB
HTML
<!DOCTYPE html PUBLIC ""
|
|
"">
|
|
<html><head><meta charset="UTF-8" /><title>youyesyet.cache documentation</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Youyesyet</span> <span class="project-version">0.2.2-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 "><a href="authorisation.html"><div class="inner"><span>Security and authorisation</span></div></a></li><li class="depth-1 "><a href="competitors.html"><div class="inner"><span>Competitor Analysis</span></div></a></li><li class="depth-1 "><a href="database.html"><div class="inner"><span>Database Specification</span></div></a></li><li class="depth-1 "><a href="scaling.html"><div class="inner"><span>YouYesYet: Scaling</span></div></a></li><li class="depth-1 "><a href="userspec.html"><div class="inner"><span>YouYesYet: User-oriented specification</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>youyesyet</span></div></div></li><li class="depth-2 branch current"><a href="youyesyet.cache.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cache</span></div></a></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>canvasser-app</span></div></div></li><li class="depth-3 branch"><a href="youyesyet.canvasser-app.ajax.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>ajax</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.canvasser-app.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.canvasser-app.gis.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>gis</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.canvasser-app.handlers.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>handlers</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.canvasser-app.state.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>state</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.canvasser-app.subscriptions.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>subscriptions</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.canvasser-app.ui-utils.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>ui-utils</span></div></a></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>views</span></div></div></li><li class="depth-4 branch"><a href="youyesyet.canvasser-app.views.about.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>about</span></div></a></li><li class="depth-4 branch"><a href="youyesyet.canvasser-app.views.building.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>building</span></div></a></li><li class="depth-4 branch"><a href="youyesyet.canvasser-app.views.dwelling.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>dwelling</span></div></a></li><li class="depth-4 branch"><a href="youyesyet.canvasser-app.views.elector.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>elector</span></div></a></li><li class="depth-4 branch"><a href="youyesyet.canvasser-app.views.followup.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>followup</span></div></a></li><li class="depth-4 branch"><a href="youyesyet.canvasser-app.views.gdpr.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>gdpr</span></div></a></li><li class="depth-4 branch"><a href="youyesyet.canvasser-app.views.issue.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>issue</span></div></a></li><li class="depth-4 branch"><a href="youyesyet.canvasser-app.views.issues.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>issues</span></div></a></li><li class="depth-4"><a href="youyesyet.canvasser-app.views.map.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>map</span></div></a></li><li class="depth-2 branch"><a href="youyesyet.config.html"><div class="inner"><span class="tree" style="top: -548px;"><span class="top" style="height: 557px;"></span><span class="bottom"></span></span><span>config</span></div></a></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>db</span></div></div></li><li class="depth-3"><a href="youyesyet.db.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-2 branch"><a href="youyesyet.handler.html"><div class="inner"><span class="tree" style="top: -52px;"><span class="top" style="height: 61px;"></span><span class="bottom"></span></span><span>handler</span></div></a></li><li class="depth-2 branch"><a href="youyesyet.layout.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>layout</span></div></a></li><li class="depth-2 branch"><a href="youyesyet.locality.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>locality</span></div></a></li><li class="depth-2 branch"><a href="youyesyet.middleware.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>middleware</span></div></a></li><li class="depth-2 branch"><a href="youyesyet.oauth.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>oauth</span></div></a></li><li class="depth-2 branch"><a href="youyesyet.outqueue.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>outqueue</span></div></a></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>routes</span></div></div></li><li class="depth-3 branch"><a href="youyesyet.routes.auto.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>auto</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.routes.auto-json.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>auto-json</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.routes.home.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>home</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.routes.issue-experts.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>issue-experts</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.routes.logged-in.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>logged-in</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.routes.manual.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>manual</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.routes.oauth.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>oauth</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.routes.rest.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>rest</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.routes.roles.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>roles</span></div></a></li><li class="depth-3"><a href="youyesyet.routes.services.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>services</span></div></a></li><li class="depth-2 branch"><a href="youyesyet.utils.html"><div class="inner"><span class="tree" style="top: -331px;"><span class="top" style="height: 340px;"></span><span class="bottom"></span></span><span>utils</span></div></a></li><li class="depth-2"><a href="youyesyet.validation.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>validation</span></div></a></li></ul></div><div class="sidebar secondary"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="youyesyet.cache.html#var-get-address"><div class="inner"><span>get-address</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-get-authority"><div class="inner"><span>get-authority</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-get-canvasser"><div class="inner"><span>get-canvasser</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-get-canvasser-by-username"><div class="inner"><span>get-canvasser-by-username</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-get-district"><div class="inner"><span>get-district</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-get-dwelling"><div class="inner"><span>get-dwelling</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-get-elector"><div class="inner"><span>get-elector</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-get-followupmethod"><div class="inner"><span>get-followupmethod</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-get-followuprequest"><div class="inner"><span>get-followuprequest</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-get-gender"><div class="inner"><span>get-gender</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-get-intention"><div class="inner"><span>get-intention</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-get-issue"><div class="inner"><span>get-issue</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-get-option"><div class="inner"><span>get-option</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-get-role"><div class="inner"><span>get-role</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-get-role-by-name"><div class="inner"><span>get-role-by-name</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-get-team"><div class="inner"><span>get-team</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-get-visit"><div class="inner"><span>get-visit</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-list-addresses"><div class="inner"><span>list-addresses</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-list-authorities"><div class="inner"><span>list-authorities</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-list-canvassers"><div class="inner"><span>list-canvassers</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-list-districts"><div class="inner"><span>list-districts</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-list-dwellings"><div class="inner"><span>list-dwellings</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-list-electors"><div class="inner"><span>list-electors</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-list-followupmethods"><div class="inner"><span>list-followupmethods</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-list-followuprequests"><div class="inner"><span>list-followuprequests</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-list-genders"><div class="inner"><span>list-genders</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-list-intentions"><div class="inner"><span>list-intentions</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-list-issues"><div class="inner"><span>list-issues</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-list-options"><div class="inner"><span>list-options</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-list-roles"><div class="inner"><span>list-roles</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-list-teams"><div class="inner"><span>list-teams</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-list-visits"><div class="inner"><span>list-visits</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-search-strings-addresses"><div class="inner"><span>search-strings-addresses</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-search-strings-authorities"><div class="inner"><span>search-strings-authorities</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-search-strings-canvassers"><div class="inner"><span>search-strings-canvassers</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-search-strings-districts"><div class="inner"><span>search-strings-districts</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-search-strings-dwellings"><div class="inner"><span>search-strings-dwellings</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-search-strings-electors"><div class="inner"><span>search-strings-electors</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-search-strings-followupmethods"><div class="inner"><span>search-strings-followupmethods</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-search-strings-followuprequests"><div class="inner"><span>search-strings-followuprequests</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-search-strings-genders"><div class="inner"><span>search-strings-genders</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-search-strings-intentions"><div class="inner"><span>search-strings-intentions</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-search-strings-issues"><div class="inner"><span>search-strings-issues</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-search-strings-options"><div class="inner"><span>search-strings-options</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-search-strings-roles"><div class="inner"><span>search-strings-roles</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-search-strings-teams"><div class="inner"><span>search-strings-teams</span></div></a></li><li class="depth-1"><a href="youyesyet.cache.html#var-search-strings-visits"><div class="inner"><span>search-strings-visits</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">youyesyet.cache</h1><div class="doc"><div class="markdown"><p>Caching wrappers for queries for youyesyet auto-generated by <a href="https://github.com/simon-brooke/adl">Application Description Language framework</a> at 20190502T102201.269Z</p></div></div><div class="public anchor" id="var-get-address"><h3>get-address</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>addresses</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@490531d1</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L17">view source</a></div></div><div class="public anchor" id="var-get-authority"><h3>get-authority</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>authorities</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@352cf516</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L26">view source</a></div></div><div class="public anchor" id="var-get-canvasser"><h3>get-canvasser</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>canvassers</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@771caed2</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L35">view source</a></div></div><div class="public anchor" id="var-get-canvasser-by-username"><h3>get-canvasser-by-username</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>canvassers</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@771caed2</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L44">view source</a></div></div><div class="public anchor" id="var-get-district"><h3>get-district</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>districts</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@1c48b9f5</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L55">view source</a></div></div><div class="public anchor" id="var-get-dwelling"><h3>get-dwelling</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>dwellings</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@f0e6e3d6</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L64">view source</a></div></div><div class="public anchor" id="var-get-elector"><h3>get-elector</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>electors</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@c7611432</code>. Results will be held in cache for 100000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L73">view source</a></div></div><div class="public anchor" id="var-get-followupmethod"><h3>get-followupmethod</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>followupmethods</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@3c72487c</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L82">view source</a></div></div><div class="public anchor" id="var-get-followuprequest"><h3>get-followuprequest</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>followuprequests</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@ae10eaf</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L91">view source</a></div></div><div class="public anchor" id="var-get-gender"><h3>get-gender</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>genders</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@3c72487c</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L100">view source</a></div></div><div class="public anchor" id="var-get-intention"><h3>get-intention</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>intentions</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@27b31781</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L109">view source</a></div></div><div class="public anchor" id="var-get-issue"><h3>get-issue</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>issues</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@606826e4</code>. Results will be held in cache for 1000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L118">view source</a></div></div><div class="public anchor" id="var-get-option"><h3>get-option</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>options</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@3c72487c</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L127">view source</a></div></div><div class="public anchor" id="var-get-role"><h3>get-role</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>roles</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@a81570c6</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L136">view source</a></div></div><div class="public anchor" id="var-get-role-by-name"><h3>get-role-by-name</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>roles</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@a81570c6</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L145">view source</a></div></div><div class="public anchor" id="var-get-team"><h3>get-team</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>teams</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@31118d64</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L154">view source</a></div></div><div class="public anchor" id="var-get-visit"><h3>get-visit</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>visits</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@a7611ce6</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L163">view source</a></div></div><div class="public anchor" id="var-list-addresses"><h3>list-addresses</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>addresses</code> table. If the keys <code>(:limit :offset)</code> 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: <code>(:address :postcode :district_id :latitude :longitude :dwellings :locality :id)</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L172">view source</a></div></div><div class="public anchor" id="var-list-authorities"><h3>list-authorities</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>authorities</code> table. If the keys <code>(:limit :offset)</code> 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: <code>(:request-token-uri :access-token-uri :authorize-uri :consumer-key :consumer-secret :id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L181">view source</a></div></div><div class="public anchor" id="var-list-canvassers"><h3>list-canvassers</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>canvassers</code> table. If the keys <code>(:limit :offset)</code> 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: <code>(:username :fullname :avatar :bio :elector_id :address_id :phone :email :authority_id :authorised :roles :expertise :teams :id)</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L190">view source</a></div></div><div class="public anchor" id="var-list-districts"><h3>list-districts</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>districts</code> table. If the keys <code>(:limit :offset)</code> 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: <code>(:name :id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L199">view source</a></div></div><div class="public anchor" id="var-list-dwellings"><h3>list-dwellings</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>dwellings</code> table. If the keys <code>(:limit :offset)</code> 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: <code>(:address_id :sub-address :electors :id)</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L208">view source</a></div></div><div class="public anchor" id="var-list-electors"><h3>list-electors</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>electors</code> table. If the keys <code>(:limit :offset)</code> 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: <code>(:name :dwelling_id :phone :email :gender :signature :id)</code>. Results will be held in cache for 100000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L217">view source</a></div></div><div class="public anchor" id="var-list-followupmethods"><h3>list-followupmethods</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>followupmethods</code> table. If the keys <code>(:limit :offset)</code> 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: <code>(:id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L226">view source</a></div></div><div class="public anchor" id="var-list-followuprequests"><h3>list-followuprequests</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>followuprequests</code> table. If the keys <code>(:limit :offset)</code> 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: <code>(:elector_id :visit_id :issue_id :issue_detail :method_id :method_detail :locked_by :locked :actions :id)</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L235">view source</a></div></div><div class="public anchor" id="var-list-genders"><h3>list-genders</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>genders</code> table. If the keys <code>(:limit :offset)</code> 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: <code>(:id)</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L244">view source</a></div></div><div class="public anchor" id="var-list-intentions"><h3>list-intentions</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>intentions</code> table. If the keys <code>(:limit :offset)</code> 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: <code>(:visit_id :elector_id :option_id :locality :id)</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L253">view source</a></div></div><div class="public anchor" id="var-list-issues"><h3>list-issues</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>issues</code> table. If the keys <code>(:limit :offset)</code> 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: <code>(:url :current :brief :experts :id)</code>. Results will be held in cache for 1000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L262">view source</a></div></div><div class="public anchor" id="var-list-options"><h3>list-options</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>options</code> table. If the keys <code>(:limit :offset)</code> 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: <code>(:id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L271">view source</a></div></div><div class="public anchor" id="var-list-roles"><h3>list-roles</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>roles</code> table. If the keys <code>(:limit :offset)</code> 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: <code>(:name :members :id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L280">view source</a></div></div><div class="public anchor" id="var-list-teams"><h3>list-teams</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>teams</code> table. If the keys <code>(:limit :offset)</code> 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: <code>(:name :district_id :latitude :longitude :members :organisers :events :id)</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L289">view source</a></div></div><div class="public anchor" id="var-list-visits"><h3>list-visits</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>visits</code> table. If the keys <code>(:limit :offset)</code> 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: <code>(:address_id :canvasser_id :date :id)</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L298">view source</a></div></div><div class="public anchor" id="var-search-strings-addresses"><h3>search-strings-addresses</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>addresses</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> 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: <code>(:address :postcode :district_id :latitude :longitude :dwellings :locality :id)</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L307">view source</a></div></div><div class="public anchor" id="var-search-strings-authorities"><h3>search-strings-authorities</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>authorities</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> 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: <code>(:request-token-uri :access-token-uri :authorize-uri :consumer-key :consumer-secret :id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L318">view source</a></div></div><div class="public anchor" id="var-search-strings-canvassers"><h3>search-strings-canvassers</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>canvassers</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> 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: <code>(:username :fullname :avatar :bio :elector_id :address_id :phone :email :authority_id :authorised :roles :expertise :teams :id)</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L329">view source</a></div></div><div class="public anchor" id="var-search-strings-districts"><h3>search-strings-districts</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>districts</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> 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: <code>(:name :id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L340">view source</a></div></div><div class="public anchor" id="var-search-strings-dwellings"><h3>search-strings-dwellings</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>dwellings</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> 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: <code>(:address_id :sub-address :electors :id)</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L351">view source</a></div></div><div class="public anchor" id="var-search-strings-electors"><h3>search-strings-electors</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>electors</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> 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: <code>(:name :dwelling_id :phone :email :gender :signature :id)</code>. Results will be held in cache for 100000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L362">view source</a></div></div><div class="public anchor" id="var-search-strings-followupmethods"><h3>search-strings-followupmethods</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>followupmethods</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> 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: <code>(:id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L373">view source</a></div></div><div class="public anchor" id="var-search-strings-followuprequests"><h3>search-strings-followuprequests</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>followuprequests</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> 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: <code>(:elector_id :visit_id :issue_id :issue_detail :method_id :method_detail :locked_by :locked :actions :id)</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L384">view source</a></div></div><div class="public anchor" id="var-search-strings-genders"><h3>search-strings-genders</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>genders</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> 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: <code>(:id)</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L395">view source</a></div></div><div class="public anchor" id="var-search-strings-intentions"><h3>search-strings-intentions</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>intentions</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> 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: <code>(:visit_id :elector_id :option_id :locality :id)</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L406">view source</a></div></div><div class="public anchor" id="var-search-strings-issues"><h3>search-strings-issues</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>issues</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> 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: <code>(:url :current :brief :experts :id)</code>. Results will be held in cache for 1000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L417">view source</a></div></div><div class="public anchor" id="var-search-strings-options"><h3>search-strings-options</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>options</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> 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: <code>(:id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L426">view source</a></div></div><div class="public anchor" id="var-search-strings-roles"><h3>search-strings-roles</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>roles</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> 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: <code>(:name :members :id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L437">view source</a></div></div><div class="public anchor" id="var-search-strings-teams"><h3>search-strings-teams</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>teams</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> 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: <code>(:name :district_id :latitude :longitude :members :organisers :events :id)</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L446">view source</a></div></div><div class="public anchor" id="var-search-strings-visits"><h3>search-strings-visits</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>visits</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> 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: <code>(:address_id :canvasser_id :date :id)</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/cache.clj#L455">view source</a></div></div></div></body></html> |