http://git-wip-us.apache.org/repos/asf/usergrid/blob/c733f01f/sdks/swift/docs/docsets/.docset/Contents/Resources/Documents/Classes/UsergridQuery.html
----------------------------------------------------------------------
diff --git
a/sdks/swift/docs/docsets/.docset/Contents/Resources/Documents/Classes/UsergridQuery.html
b/sdks/swift/docs/docsets/.docset/Contents/Resources/Documents/Classes/UsergridQuery.html
index b97ba76..5b8d3e5 100644
---
a/sdks/swift/docs/docsets/.docset/Contents/Resources/Documents/Classes/UsergridQuery.html
+++
b/sdks/swift/docs/docsets/.docset/Contents/Resources/Documents/Classes/UsergridQuery.html
@@ -7,13 +7,14 @@
<meta charset='utf-8'>
<script src="../js/jquery.min.js" defer></script>
<script src="../js/jazzy.js" defer></script>
+
</head>
<body>
<a name="//apple_ref/swift/Class/UsergridQuery" class="dashAnchor"></a>
<a title="UsergridQuery Class Reference"></a>
<header>
<div class="content-wrapper">
- <p><a href="../index.html"> Docs</a> (97% documented)</p>
+ <p><a href="../index.html"> Docs</a> (100% documented)</p>
</div>
</header>
<div class="content-wrapper">
@@ -27,7 +28,7 @@
<nav class="sidebar">
<ul class="nav-groups">
<li class="nav-group-name">
- <a href="../Classes.html">Classes</a>
+ <a href="../Classes.html">Classes</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Classes/Usergrid.html">Usergrid</a>
@@ -39,6 +40,9 @@
<a href="../Classes/UsergridAsset.html">UsergridAsset</a>
</li>
<li class="nav-group-task">
+ <a
href="../Classes/UsergridAssetUploadRequest.html">UsergridAssetUploadRequest</a>
+ </li>
+ <li class="nav-group-task">
<a href="../Classes/UsergridAuth.html">UsergridAuth</a>
</li>
<li class="nav-group-task">
@@ -60,9 +64,15 @@
<a href="../Classes/UsergridQuery.html">UsergridQuery</a>
</li>
<li class="nav-group-task">
+ <a href="../Classes/UsergridRequest.html">UsergridRequest</a>
+ </li>
+ <li class="nav-group-task">
<a href="../Classes/UsergridResponse.html">UsergridResponse</a>
</li>
<li class="nav-group-task">
+ <a
href="../Classes/UsergridResponseError.html">UsergridResponseError</a>
+ </li>
+ <li class="nav-group-task">
<a href="../Classes/UsergridUser.html">UsergridUser</a>
</li>
<li class="nav-group-task">
@@ -71,10 +81,18 @@
</ul>
</li>
<li class="nav-group-name">
- <a href="../Enums.html">Enums</a>
+ <a href="../Global Variables.html">Global Variables</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
- <a
href="../Enums/UsergridAuthFallback.html">UsergridAuthFallback</a>
+ <a href="../Global
Variables.html#/s:v11UsergridSDK18UsergridSDKVersionSS">UsergridSDKVersion</a>
+ </li>
+ </ul>
+ </li>
+ <li class="nav-group-name">
+ <a href="../Enums.html">Enums</a>
+ <ul class="nav-group-tasks">
+ <li class="nav-group-task">
+ <a href="../Enums/UsergridAuthMode.html">UsergridAuthMode</a>
</li>
<li class="nav-group-task">
<a
href="../Enums/UsergridDeviceProperties.html">UsergridDeviceProperties</a>
@@ -86,6 +104,9 @@
<a
href="../Enums/UsergridEntityProperties.html">UsergridEntityProperties</a>
</li>
<li class="nav-group-task">
+ <a
href="../Enums/UsergridHttpMethod.html">UsergridHttpMethod</a>
+ </li>
+ <li class="nav-group-task">
<a
href="../Enums/UsergridImageContentType.html">UsergridImageContentType</a>
</li>
<li class="nav-group-task">
@@ -100,7 +121,15 @@
</ul>
</li>
<li class="nav-group-name">
- <a href="../Typealiases.html">Typealiases</a>
+ <a href="../Extensions.html">Extensions</a>
+ <ul class="nav-group-tasks">
+ <li class="nav-group-task">
+ <a href="../Extensions/NSDate.html">NSDate</a>
+ </li>
+ </ul>
+ </li>
+ <li class="nav-group-name">
+ <a href="../Typealiases.html">Typealiases</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a
href="../Typealiases.html#/s:11UsergridSDK30UsergridAppAuthCompletionBlock">UsergridAppAuthCompletionBlock</a>
@@ -120,6 +149,12 @@
<li class="nav-group-task">
<a
href="../Typealiases.html#/s:11UsergridSDK31UsergridUserAuthCompletionBlock">UsergridUserAuthCompletionBlock</a>
</li>
+ <li class="nav-group-task">
+ <a
href="../Typealiases.html#/s:11UsergridSDK34UsergridUserAvailabilityCompletion">UsergridUserAvailabilityCompletion</a>
+ </li>
+ <li class="nav-group-task">
+ <a
href="../Typealiases.html#/s:11UsergridSDK35UsergridUserResetPasswordCompletion">UsergridUserResetPasswordCompletion</a>
+ </li>
</ul>
</li>
</ul>
@@ -129,32 +164,32 @@
<section class="section">
<h1>UsergridQuery</h1>
<div class="declaration">
- <div class="Swift">
+ <div class="language">
<pre class="highlight"><code><span class="kd">public</span>
<span class="kd">class</span> <span class="kt">UsergridQuery</span> <span
class="p">:</span> <span class="kt">NSObject</span><span
class="p">,</span><span class="kt">NSCopying</span></code></pre>
</div>
</div>
<p><code>UsergridQuery</code> is builder class used to construct
filtered requests to Usergrid.</p>
-<p><code>UsergridQuery</code> objects are then passed to
<code>UsergridClient</code> or <code>Usergrid</code> methods which support
<code>UsergridQuery</code> as a parameter are .GET(), .PUT(), and .DELETE().</p>
+<p><code>UsergridQuery</code> objects are then passed to <code><a
href="../Classes/UsergridClient.html">UsergridClient</a></code> or <code><a
href="../Classes/Usergrid.html">Usergrid</a></code> methods which support
<code>UsergridQuery</code> as a parameter are .GET(), .PUT(), and .DELETE().</p>
</section>
<section class="section task-group-section">
<div class="task-group">
- <div class="task-name-container">
- <a name="/Initialization"></a>
- <a name="//apple_ref/swift/Section/Initialization"
class="dashAnchor"></a>
- <a href="#/Initialization">
- <h3 class="section-name">Initialization</h3>
- </a>
- </div>
+ <div class="task-name-container">
+ <a name="/Initialization"></a>
+ <a name="//apple_ref/swift/Section/Initialization"
class="dashAnchor"></a>
+ <a href="#/Initialization">
+ <h3 class="section-name">Initialization</h3>
+ </a>
+ </div>
<ul>
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuerycFMS0_FTGSqSS__S0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuerycFTGSqSS__S0_"></a>
<a name="//apple_ref/swift/Method/init(_:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuerycFMS0_FTGSqSS__S0_">init(_:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuerycFTGSqSS__S0_">init(_:)</a>
</code>
</div>
<div class="height-container">
@@ -162,12 +197,12 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
- <p>Desingated initializer for
<code>UsergridQuery</code> objects.</p>
+ <p>Desingated initializer for <code><a
href="../Classes/UsergridQuery.html">UsergridQuery</a></code> objects.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="nf">init</span><span
class="p">(</span><span class="n">_</span> <span
class="nv">collectionName</span><span class="p">:</span> <span
class="kt">String</span><span class="p">?</span> <span class="o">=</span> <span
class="kc">nil</span><span class="p">)</span></code></pre>
@@ -195,7 +230,7 @@
</div>
<div>
<h4>Return Value</h4>
- <p>A new instance of <code>UsergridQuery</code>.</p>
+ <p>A new instance of <code><a
href="../Classes/UsergridQuery.html">UsergridQuery</a></code>.</p>
</div>
</section>
@@ -204,20 +239,20 @@
</ul>
</div>
<div class="task-group">
- <div class="task-name-container">
- <a name="/NSCopying"></a>
- <a name="//apple_ref/swift/Section/NSCopying"
class="dashAnchor"></a>
- <a href="#/NSCopying">
- <h3 class="section-name">NSCopying</h3>
- </a>
- </div>
+ <div class="task-name-container">
+ <a name="/NSCopying"></a>
+ <a name="//apple_ref/swift/Section/NSCopying"
class="dashAnchor"></a>
+ <a href="#/NSCopying">
+ <h3 class="section-name">NSCopying</h3>
+ </a>
+ </div>
<ul>
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery12copyWithZoneFS0_FV10ObjectiveC6NSZonePSs9AnyObject_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery12copyWithZoneFV10ObjectiveC6NSZonePs9AnyObject_"></a>
<a name="//apple_ref/swift/Method/copyWithZone(_:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery12copyWithZoneFS0_FV10ObjectiveC6NSZonePSs9AnyObject_">copyWithZone(_:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery12copyWithZoneFV10ObjectiveC6NSZonePs9AnyObject_">copyWithZone(_:)</a>
</code>
</div>
<div class="height-container">
@@ -230,7 +265,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">copyWithZone</span><span class="p">(</span><span
class="nv">zone</span><span class="p">:</span> <span
class="kt">NSZone</span><span class="p">)</span> <span class="o">-></span>
<span class="kt">AnyObject</span></code></pre>
@@ -267,20 +302,20 @@
</ul>
</div>
<div class="task-group">
- <div class="task-name-container">
- <a name="/Building"></a>
- <a name="//apple_ref/swift/Section/Building"
class="dashAnchor"></a>
- <a href="#/Building">
- <h3 class="section-name">Building</h3>
- </a>
- </div>
+ <div class="task-name-container">
+ <a name="/Building"></a>
+ <a name="//apple_ref/swift/Section/Building"
class="dashAnchor"></a>
+ <a href="#/Building">
+ <h3 class="section-name">Building</h3>
+ </a>
+ </div>
<ul>
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery5buildFS0_FTSb_SS"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery5buildFTSb_SS"></a>
<a name="//apple_ref/swift/Method/build(_:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery5buildFS0_FTSb_SS">build(_:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery5buildFTSb_SS">build(_:)</a>
</code>
</div>
<div class="height-container">
@@ -293,7 +328,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">build</span><span class="p">(</span><span
class="nv">autoURLEncode</span><span class="p">:</span> <span
class="kt">Bool</span> <span class="o">=</span> <span
class="kc">true</span><span class="p">)</span> <span class="o">-></span>
<span class="kt">String</span></code></pre>
@@ -330,20 +365,85 @@
</ul>
</div>
<div class="task-group">
- <div class="task-name-container">
- <a name="/Builder%20Methods"></a>
- <a name="//apple_ref/swift/Section/Builder Methods"
class="dashAnchor"></a>
- <a href="#/Builder%20Methods">
- <h3 class="section-name">Builder Methods</h3>
- </a>
- </div>
+ <div class="task-name-container">
+ <a name="/Builder%20Methods"></a>
+ <a name="//apple_ref/swift/Section/Builder Methods"
class="dashAnchor"></a>
+ <a href="#/Builder%20Methods">
+ <h3 class="section-name">Builder Methods</h3>
+ </a>
+ </div>
<ul>
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery14containsStringFS0_FTSS5valueSS_DS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery8containsFTSS5valueSS_DS0_"></a>
+ <a name="//apple_ref/swift/Method/contains(_:value:)"
class="dashAnchor"></a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery8containsFTSS5valueSS_DS0_">contains(_:value:)</a>
+ </code>
+ </div>
+ <div class="height-container">
+ <div class="pointer-container"></div>
+ <section class="section">
+ <div class="pointer"></div>
+ <div class="abstract">
+ <p>Contains. Query: where term contains
‘val%’.</p>
+
+ </div>
+ <div class="declaration">
+ <h4>Declaration</h4>
+ <div class="language">
+ <p class="aside-title">Swift</p>
+ <pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">contains</span><span class="p">(</span><span
class="nv">term</span><span class="p">:</span> <span
class="kt">String</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="kt">String</span><span class="p">)</span> <span class="o">-></span>
<span class="k">Self</span> <span class="p">{</span> <span
class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">containsWord</span><span
class="p">(</span><span class="n">term</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="n">value</span><span class="p">)</span> <span
class="p">}</span></code></pre>
+
+ </div>
+ </div>
+ <div>
+ <h4>Parameters</h4>
+ <table class="graybox">
+ <tbody>
+ <tr>
+ <td>
+ <code>
+ <em>term</em>
+ </code>
+ </td>
+ <td>
+ <div>
+ <p>The term.</p>
+
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <code>
+ <em>value</em>
+ </code>
+ </td>
+ <td>
+ <div>
+ <p>The value.</p>
+
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div>
+ <h4>Return Value</h4>
+ <p><code>Self</code></p>
+
+ </div>
+ </section>
+ </div>
+ </li>
+ <li class="item">
+ <div>
+ <code>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery14containsStringFTSS5valueSS_DS0_"></a>
<a
name="//apple_ref/swift/Method/containsString(_:value:)" class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery14containsStringFS0_FTSS5valueSS_DS0_">containsString(_:value:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery14containsStringFTSS5valueSS_DS0_">containsString(_:value:)</a>
</code>
</div>
<div class="height-container">
@@ -356,7 +456,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">containsString</span><span class="p">(</span><span
class="nv">term</span><span class="p">:</span> <span
class="kt">String</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="kt">String</span><span class="p">)</span> <span class="o">-></span>
<span class="k">Self</span> <span class="p">{</span> <span
class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">containsWord</span><span
class="p">(</span><span class="n">term</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="n">value</span><span class="p">)</span> <span
class="p">}</span></code></pre>
@@ -406,9 +506,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery12containsWordFS0_FTSS5valueSS_DS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery12containsWordFTSS5valueSS_DS0_"></a>
<a name="//apple_ref/swift/Method/containsWord(_:value:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery12containsWordFS0_FTSS5valueSS_DS0_">containsWord(_:value:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery12containsWordFTSS5valueSS_DS0_">containsWord(_:value:)</a>
</code>
</div>
<div class="height-container">
@@ -421,9 +521,9 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
- <pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">containsWord</span><span class="p">(</span><span
class="nv">term</span><span class="p">:</span> <span
class="kt">String</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="kt">String</span><span class="p">)</span> <span class="o">-></span>
<span class="k">Self</span> <span class="p">{</span> <span
class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">addRequirement</span><span
class="p">(</span><span class="n">term</span> <span class="o">+</span> <span
class="kt">UsergridQuery</span><span class="o">.</span><span
class="kt">SPACE</span> <span class="o">+</span> <span
class="kt">UsergridQuery</span><span class="o">.</span><span
class="kt">CONTAINS</span> <span class="o">+</span> <span
class="kt">UsergridQuery</span><span class="o">.</span><span
class="kt">SPACE</span> <
span class="o">+</span> <span class="kt">UsergridQuery</span><span
class="o">.</span><span class="kt">APOSTROPHE</span> <span class="o">+</span>
<span class="n">value</span> <span class="o">+</span> <span
class="kt">UsergridQuery</span><span class="o">.</span><span
class="kt">APOSTROPHE</span><span class="p">)</span> <span
class="p">}</span></code></pre>
+ <pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">containsWord</span><span class="p">(</span><span
class="nv">term</span><span class="p">:</span> <span
class="kt">String</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="kt">String</span><span class="p">)</span> <span class="o">-></span>
<span class="k">Self</span> <span class="p">{</span> <span
class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">addRequirement</span><span
class="p">(</span><span class="n">term</span> <span class="o">+</span> <span
class="kt">UsergridQuery</span><span class="o">.</span><span
class="kt">SPACE</span> <span class="o">+</span> <span
class="kt">UsergridQuery</span><span class="o">.</span><span
class="kt">CONTAINS</span> <span class="o">+</span> <span
class="kt">UsergridQuery</span><span class="o">.</span><span
class="kt">SPACE</span> <
span class="o">+</span> <span class="p">((</span><span
class="n">value</span><span class="o">.</span><span
class="nf">isUuid</span><span class="p">())</span> <span class="p">?</span>
<span class="kt">UsergridQuery</span><span class="o">.</span><span
class="kt">EMPTY_STRING</span> <span class="p">:</span> <span
class="kt">UsergridQuery</span><span class="o">.</span><span
class="kt">APOSTROPHE</span><span class="p">)</span> <span class="o">+</span>
<span class="n">value</span> <span class="o">+</span> <span
class="p">((</span><span class="n">value</span><span class="o">.</span><span
class="nf">isUuid</span><span class="p">())</span> <span class="p">?</span>
<span class="kt">UsergridQuery</span><span class="o">.</span><span
class="kt">EMPTY_STRING</span> <span class="p">:</span> <span
class="kt">UsergridQuery</span><span class="o">.</span><span
class="kt">APOSTROPHE</span><span class="p">))</span> <span
class="p">}</span></code></pre>
</div>
</div>
@@ -471,9 +571,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery9ascendingFS0_FSSDS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery9ascendingFSSDS0_"></a>
<a name="//apple_ref/swift/Method/ascending(_:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery9ascendingFS0_FSSDS0_">ascending(_:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery9ascendingFSSDS0_">ascending(_:)</a>
</code>
</div>
<div class="height-container">
@@ -486,7 +586,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">ascending</span><span class="p">(</span><span
class="nv">term</span><span class="p">:</span> <span
class="kt">String</span><span class="p">)</span> <span class="o">-></span>
<span class="k">Self</span> <span class="p">{</span> <span
class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">asc</span><span class="p">(</span><span
class="n">term</span><span class="p">)</span> <span
class="p">}</span></code></pre>
@@ -523,9 +623,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery3ascFS0_FSSDS0_"></a>
+ <a name="/s:FC11UsergridSDK13UsergridQuery3ascFSSDS0_"></a>
<a name="//apple_ref/swift/Method/asc(_:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery3ascFS0_FSSDS0_">asc(_:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery3ascFSSDS0_">asc(_:)</a>
</code>
</div>
<div class="height-container">
@@ -538,9 +638,9 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
- <pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">asc</span><span class="p">(</span><span class="nv">term</span><span
class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span> <span class="p">{</span>
<span class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">sort</span><span class="p">(</span><span
class="n">term</span><span class="p">,</span> <span
class="nv">sortOrder</span><span class="p">:</span> <span
class="kt">UsergridQuerySortOrder</span><span class="o">.</span><span
class="kt">Asc</span><span class="p">)</span> <span
class="p">}</span></code></pre>
+ <pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">asc</span><span class="p">(</span><span class="nv">term</span><span
class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span> <span class="p">{</span>
<span class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">sort</span><span class="p">(</span><span
class="n">term</span><span class="p">,</span> <span
class="nv">sortOrder</span><span class="p">:</span> <span
class="o">.</span><span class="kt">Asc</span><span class="p">)</span> <span
class="p">}</span></code></pre>
</div>
</div>
@@ -575,9 +675,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery10descendingFS0_FSSDS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery10descendingFSSDS0_"></a>
<a name="//apple_ref/swift/Method/descending(_:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery10descendingFS0_FSSDS0_">descending(_:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery10descendingFSSDS0_">descending(_:)</a>
</code>
</div>
<div class="height-container">
@@ -590,7 +690,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">descending</span><span class="p">(</span><span
class="nv">term</span><span class="p">:</span> <span
class="kt">String</span><span class="p">)</span> <span class="o">-></span>
<span class="k">Self</span> <span class="p">{</span> <span
class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">desc</span><span class="p">(</span><span
class="n">term</span><span class="p">)</span> <span
class="p">}</span></code></pre>
@@ -627,9 +727,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery4descFS0_FSSDS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery4descFSSDS0_"></a>
<a name="//apple_ref/swift/Method/desc(_:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery4descFS0_FSSDS0_">desc(_:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery4descFSSDS0_">desc(_:)</a>
</code>
</div>
<div class="height-container">
@@ -642,9 +742,9 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
- <pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">desc</span><span class="p">(</span><span class="nv">term</span><span
class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span> <span class="p">{</span>
<span class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">sort</span><span class="p">(</span><span
class="n">term</span><span class="p">,</span> <span
class="nv">sortOrder</span><span class="p">:</span> <span
class="kt">UsergridQuerySortOrder</span><span class="o">.</span><span
class="kt">Desc</span><span class="p">)</span> <span
class="p">}</span></code></pre>
+ <pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">desc</span><span class="p">(</span><span class="nv">term</span><span
class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span> <span class="p">{</span>
<span class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">sort</span><span class="p">(</span><span
class="n">term</span><span class="p">,</span> <span
class="nv">sortOrder</span><span class="p">:</span> <span
class="o">.</span><span class="kt">Desc</span><span class="p">)</span> <span
class="p">}</span></code></pre>
</div>
</div>
@@ -679,9 +779,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery6filterFS0_FTSS5valuePSs9AnyObject__DS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery6filterFTSS5valuePs9AnyObject__DS0_"></a>
<a name="//apple_ref/swift/Method/filter(_:value:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery6filterFS0_FTSS5valuePSs9AnyObject__DS0_">filter(_:value:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery6filterFTSS5valuePs9AnyObject__DS0_">filter(_:value:)</a>
</code>
</div>
<div class="height-container">
@@ -694,7 +794,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">filter</span><span class="p">(</span><span
class="nv">term</span><span class="p">:</span> <span
class="kt">String</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="kt">AnyObject</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span> <span class="p">{</span>
<span class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">eq</span><span class="p">(</span><span
class="n">term</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="n">value</span><span class="p">)</span> <span
class="p">}</span></code></pre>
@@ -744,9 +844,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery6equalsFS0_FTSS5valuePSs9AnyObject__DS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery6equalsFTSS5valuePs9AnyObject__DS0_"></a>
<a name="//apple_ref/swift/Method/equals(_:value:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery6equalsFS0_FTSS5valuePSs9AnyObject__DS0_">equals(_:value:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery6equalsFTSS5valuePs9AnyObject__DS0_">equals(_:value:)</a>
</code>
</div>
<div class="height-container">
@@ -759,7 +859,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">equals</span><span class="p">(</span><span
class="nv">term</span><span class="p">:</span> <span
class="kt">String</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="kt">AnyObject</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span> <span class="p">{</span>
<span class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">eq</span><span class="p">(</span><span
class="n">term</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="n">value</span><span class="p">)</span> <span
class="p">}</span></code></pre>
@@ -809,9 +909,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery2eqFS0_FTSS5valuePSs9AnyObject__DS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery2eqFTSS5valuePs9AnyObject__DS0_"></a>
<a name="//apple_ref/swift/Method/eq(_:value:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery2eqFS0_FTSS5valuePSs9AnyObject__DS0_">eq(_:value:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery2eqFTSS5valuePs9AnyObject__DS0_">eq(_:value:)</a>
</code>
</div>
<div class="height-container">
@@ -824,7 +924,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">eq</span><span class="p">(</span><span class="nv">term</span><span
class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="kt">AnyObject</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span> <span class="p">{</span>
<span class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">addOperationRequirement</span><span
class="p">(</span><span class="n">term</span><span class="p">,</span> <span
class="nv">operation</span><span class="p">:</span><span
class="o">.</span><span class="kt">Equal</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="n">value</span><span class="p">)</span> <span
class="p">}</span></code></pre>
@@ -874,9 +974,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery11greaterThanFS0_FTSS5valuePSs9AnyObject__DS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery11greaterThanFTSS5valuePs9AnyObject__DS0_"></a>
<a name="//apple_ref/swift/Method/greaterThan(_:value:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery11greaterThanFS0_FTSS5valuePSs9AnyObject__DS0_">greaterThan(_:value:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery11greaterThanFTSS5valuePs9AnyObject__DS0_">greaterThan(_:value:)</a>
</code>
</div>
<div class="height-container">
@@ -889,7 +989,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">greaterThan</span><span class="p">(</span><span
class="nv">term</span><span class="p">:</span> <span
class="kt">String</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="kt">AnyObject</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span> <span class="p">{</span>
<span class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">gt</span><span class="p">(</span><span
class="n">term</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="n">value</span><span class="p">)</span> <span
class="p">}</span></code></pre>
@@ -939,9 +1039,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery2gtFS0_FTSS5valuePSs9AnyObject__DS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery2gtFTSS5valuePs9AnyObject__DS0_"></a>
<a name="//apple_ref/swift/Method/gt(_:value:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery2gtFS0_FTSS5valuePSs9AnyObject__DS0_">gt(_:value:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery2gtFTSS5valuePs9AnyObject__DS0_">gt(_:value:)</a>
</code>
</div>
<div class="height-container">
@@ -954,7 +1054,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">gt</span><span class="p">(</span><span class="nv">term</span><span
class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="kt">AnyObject</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span> <span class="p">{</span>
<span class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">addOperationRequirement</span><span
class="p">(</span><span class="n">term</span><span class="p">,</span> <span
class="nv">operation</span><span class="p">:</span><span
class="o">.</span><span class="kt">GreaterThan</span><span class="p">,</span>
<span class="nv">value</span><span class="p">:</span> <span
class="n">value</span><span class="p">)</span> <span
class="p">}</span></code></pre>
@@ -1004,9 +1104,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery18greaterThanOrEqualFS0_FTSS5valuePSs9AnyObject__DS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery18greaterThanOrEqualFTSS5valuePs9AnyObject__DS0_"></a>
<a
name="//apple_ref/swift/Method/greaterThanOrEqual(_:value:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery18greaterThanOrEqualFS0_FTSS5valuePSs9AnyObject__DS0_">greaterThanOrEqual(_:value:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery18greaterThanOrEqualFTSS5valuePs9AnyObject__DS0_">greaterThanOrEqual(_:value:)</a>
</code>
</div>
<div class="height-container">
@@ -1019,7 +1119,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">greaterThanOrEqual</span><span class="p">(</span><span
class="nv">term</span><span class="p">:</span> <span
class="kt">String</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="kt">AnyObject</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span> <span class="p">{</span>
<span class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">gte</span><span class="p">(</span><span
class="n">term</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="n">value</span><span class="p">)</span> <span
class="p">}</span></code></pre>
@@ -1069,9 +1169,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery3gteFS0_FTSS5valuePSs9AnyObject__DS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery3gteFTSS5valuePs9AnyObject__DS0_"></a>
<a name="//apple_ref/swift/Method/gte(_:value:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery3gteFS0_FTSS5valuePSs9AnyObject__DS0_">gte(_:value:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery3gteFTSS5valuePs9AnyObject__DS0_">gte(_:value:)</a>
</code>
</div>
<div class="height-container">
@@ -1084,7 +1184,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">gte</span><span class="p">(</span><span class="nv">term</span><span
class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="kt">AnyObject</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span> <span class="p">{</span>
<span class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">addOperationRequirement</span><span
class="p">(</span><span class="n">term</span><span class="p">,</span> <span
class="nv">operation</span><span class="p">:</span><span
class="o">.</span><span class="kt">GreaterThanEqualTo</span><span
class="p">,</span> <span class="nv">value</span><span class="p">:</span> <span
class="n">value</span><span class="p">)</span> <span
class="p">}</span></code></pre>
@@ -1134,9 +1234,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery8lessThanFS0_FTSS5valuePSs9AnyObject__DS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery8lessThanFTSS5valuePs9AnyObject__DS0_"></a>
<a name="//apple_ref/swift/Method/lessThan(_:value:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery8lessThanFS0_FTSS5valuePSs9AnyObject__DS0_">lessThan(_:value:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery8lessThanFTSS5valuePs9AnyObject__DS0_">lessThan(_:value:)</a>
</code>
</div>
<div class="height-container">
@@ -1149,7 +1249,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">lessThan</span><span class="p">(</span><span
class="nv">term</span><span class="p">:</span> <span
class="kt">String</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="kt">AnyObject</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span> <span class="p">{</span>
<span class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">lt</span><span class="p">(</span><span
class="n">term</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="n">value</span><span class="p">)</span> <span
class="p">}</span></code></pre>
@@ -1199,9 +1299,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery2ltFS0_FTSS5valuePSs9AnyObject__DS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery2ltFTSS5valuePs9AnyObject__DS0_"></a>
<a name="//apple_ref/swift/Method/lt(_:value:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery2ltFS0_FTSS5valuePSs9AnyObject__DS0_">lt(_:value:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery2ltFTSS5valuePs9AnyObject__DS0_">lt(_:value:)</a>
</code>
</div>
<div class="height-container">
@@ -1214,7 +1314,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">lt</span><span class="p">(</span><span class="nv">term</span><span
class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="kt">AnyObject</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span> <span class="p">{</span>
<span class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">addOperationRequirement</span><span
class="p">(</span><span class="n">term</span><span class="p">,</span> <span
class="nv">operation</span><span class="p">:</span><span
class="o">.</span><span class="kt">LessThan</span><span class="p">,</span>
<span class="nv">value</span><span class="p">:</span> <span
class="n">value</span><span class="p">)</span> <span
class="p">}</span></code></pre>
@@ -1264,9 +1364,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery15lessThanOrEqualFS0_FTSS5valuePSs9AnyObject__DS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery15lessThanOrEqualFTSS5valuePs9AnyObject__DS0_"></a>
<a
name="//apple_ref/swift/Method/lessThanOrEqual(_:value:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery15lessThanOrEqualFS0_FTSS5valuePSs9AnyObject__DS0_">lessThanOrEqual(_:value:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery15lessThanOrEqualFTSS5valuePs9AnyObject__DS0_">lessThanOrEqual(_:value:)</a>
</code>
</div>
<div class="height-container">
@@ -1279,7 +1379,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">lessThanOrEqual</span><span class="p">(</span><span
class="nv">term</span><span class="p">:</span> <span
class="kt">String</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="kt">AnyObject</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span> <span class="p">{</span>
<span class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">lte</span><span class="p">(</span><span
class="n">term</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="n">value</span><span class="p">)</span> <span
class="p">}</span></code></pre>
@@ -1329,9 +1429,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery3lteFS0_FTSS5valuePSs9AnyObject__DS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery3lteFTSS5valuePs9AnyObject__DS0_"></a>
<a name="//apple_ref/swift/Method/lte(_:value:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery3lteFS0_FTSS5valuePSs9AnyObject__DS0_">lte(_:value:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery3lteFTSS5valuePs9AnyObject__DS0_">lte(_:value:)</a>
</code>
</div>
<div class="height-container">
@@ -1344,7 +1444,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">lte</span><span class="p">(</span><span class="nv">term</span><span
class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span
class="nv">value</span><span class="p">:</span> <span
class="kt">AnyObject</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span> <span class="p">{</span>
<span class="k">return</span> <span class="k">self</span><span
class="o">.</span><span class="nf">addOperationRequirement</span><span
class="p">(</span><span class="n">term</span><span class="p">,</span> <span
class="nv">operation</span><span class="p">:</span><span
class="o">.</span><span class="kt">LessThanEqualTo</span><span
class="p">,</span> <span class="nv">value</span><span class="p">:</span> <span
class="n">value</span><span class="p">)</span> <span
class="p">}</span></code></pre>
@@ -1394,9 +1494,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery14withinLocationFS0_FTSf8latitudeSf9longitudeSf_DS0_"></a>
- <a
name="//apple_ref/swift/Method/withinLocation(_:latitude:longitude:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery14withinLocationFS0_FTSf8latitudeSf9longitudeSf_DS0_">withinLocation(_:latitude:longitude:)</a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery14locationWithinFTSf8latitudeSf9longitudeSf_DS0_"></a>
+ <a
name="//apple_ref/swift/Method/locationWithin(_:latitude:longitude:)"
class="dashAnchor"></a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery14locationWithinFTSf8latitudeSf9longitudeSf_DS0_">locationWithin(_:latitude:longitude:)</a>
</code>
</div>
<div class="height-container">
@@ -1409,9 +1509,9 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
- <pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">withinLocation</span><span class="p">(</span><span
class="nv">distance</span><span class="p">:</span> <span
class="kt">Float</span><span class="p">,</span> <span
class="nv">latitude</span><span class="p">:</span> <span
class="kt">Float</span><span class="p">,</span> <span
class="nv">longitude</span><span class="p">:</span> <span
class="kt">Float</span><span class="p">)</span> <span class="o">-></span>
<span class="k">Self</span></code></pre>
+ <pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">locationWithin</span><span class="p">(</span><span
class="nv">distance</span><span class="p">:</span> <span
class="kt">Float</span><span class="p">,</span> <span
class="nv">latitude</span><span class="p">:</span> <span
class="kt">Float</span><span class="p">,</span> <span
class="nv">longitude</span><span class="p">:</span> <span
class="kt">Float</span><span class="p">)</span> <span class="o">-></span>
<span class="k">Self</span></code></pre>
</div>
</div>
@@ -1472,9 +1572,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery2orFS0_FT_DS0_"></a>
+ <a name="/s:FC11UsergridSDK13UsergridQuery2orFT_DS0_"></a>
<a name="//apple_ref/swift/Method/or()"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery2orFS0_FT_DS0_">or()</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery2orFT_DS0_">or()</a>
</code>
</div>
<div class="height-container">
@@ -1482,12 +1582,12 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
- <p>Joining operation to combine conditional
queries.</p>
+ <p>Or operation for conditional queries.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">or</span><span class="p">()</span> <span class="o">-></span>
<span class="k">Self</span></code></pre>
@@ -1504,9 +1604,73 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery4sortFS0_FTSS9sortOrderOS_22UsergridQuerySortOrder_DS0_"></a>
+ <a name="/s:FC11UsergridSDK13UsergridQuery3andFT_DS0_"></a>
+ <a name="//apple_ref/swift/Method/and()"
class="dashAnchor"></a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery3andFT_DS0_">and()</a>
+ </code>
+ </div>
+ <div class="height-container">
+ <div class="pointer-container"></div>
+ <section class="section">
+ <div class="pointer"></div>
+ <div class="abstract">
+ <p>And operation for conditional queries.</p>
+
+ </div>
+ <div class="declaration">
+ <h4>Declaration</h4>
+ <div class="language">
+ <p class="aside-title">Swift</p>
+ <pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">and</span><span class="p">()</span> <span class="o">-></span>
<span class="k">Self</span></code></pre>
+
+ </div>
+ </div>
+ <div>
+ <h4>Return Value</h4>
+ <p><code>Self</code></p>
+
+ </div>
+ </section>
+ </div>
+ </li>
+ <li class="item">
+ <div>
+ <code>
+ <a name="/s:FC11UsergridSDK13UsergridQuery3notFT_DS0_"></a>
+ <a name="//apple_ref/swift/Method/not()"
class="dashAnchor"></a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery3notFT_DS0_">not()</a>
+ </code>
+ </div>
+ <div class="height-container">
+ <div class="pointer-container"></div>
+ <section class="section">
+ <div class="pointer"></div>
+ <div class="abstract">
+ <p>Not operation for conditional queries.</p>
+
+ </div>
+ <div class="declaration">
+ <h4>Declaration</h4>
+ <div class="language">
+ <p class="aside-title">Swift</p>
+ <pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">not</span><span class="p">()</span> <span class="o">-></span>
<span class="k">Self</span></code></pre>
+
+ </div>
+ </div>
+ <div>
+ <h4>Return Value</h4>
+ <p><code>Self</code></p>
+
+ </div>
+ </section>
+ </div>
+ </li>
+ <li class="item">
+ <div>
+ <code>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery4sortFTSS9sortOrderOS_22UsergridQuerySortOrder_DS0_"></a>
<a name="//apple_ref/swift/Method/sort(_:sortOrder:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery4sortFS0_FTSS9sortOrderOS_22UsergridQuerySortOrder_DS0_">sort(_:sortOrder:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery4sortFTSS9sortOrderOS_22UsergridQuerySortOrder_DS0_">sort(_:sortOrder:)</a>
</code>
</div>
<div class="height-container">
@@ -1519,7 +1683,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">sort</span><span class="p">(</span><span class="nv">term</span><span
class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span
class="nv">sortOrder</span><span class="p">:</span> <span
class="kt">UsergridQuerySortOrder</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span></code></pre>
@@ -1569,9 +1733,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery10collectionFS0_FSSDS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery10collectionFSSDS0_"></a>
<a name="//apple_ref/swift/Method/collection(_:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery10collectionFS0_FSSDS0_">collection(_:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery10collectionFSSDS0_">collection(_:)</a>
</code>
</div>
<div class="height-container">
@@ -1584,7 +1748,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">collection</span><span class="p">(</span><span
class="nv">collectionName</span><span class="p">:</span> <span
class="kt">String</span><span class="p">)</span> <span class="o">-></span>
<span class="k">Self</span></code></pre>
@@ -1621,9 +1785,61 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery5limitFS0_FSiDS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery4typeFSSDS0_"></a>
+ <a name="//apple_ref/swift/Method/type(_:)"
class="dashAnchor"></a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery4typeFSSDS0_">type(_:)</a>
+ </code>
+ </div>
+ <div class="height-container">
+ <div class="pointer-container"></div>
+ <section class="section">
+ <div class="pointer"></div>
+ <div class="abstract">
+ <p>Sets the collection name.</p>
+
+ </div>
+ <div class="declaration">
+ <h4>Declaration</h4>
+ <div class="language">
+ <p class="aside-title">Swift</p>
+ <pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">type</span><span class="p">(</span><span class="nv">type</span><span
class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span></code></pre>
+
+ </div>
+ </div>
+ <div>
+ <h4>Parameters</h4>
+ <table class="graybox">
+ <tbody>
+ <tr>
+ <td>
+ <code>
+ <em>type</em>
+ </code>
+ </td>
+ <td>
+ <div>
+ <p>The new collection name.</p>
+
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div>
+ <h4>Return Value</h4>
+ <p><code>Self</code></p>
+
+ </div>
+ </section>
+ </div>
+ </li>
+ <li class="item">
+ <div>
+ <code>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery5limitFSiDS0_"></a>
<a name="//apple_ref/swift/Method/limit(_:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery5limitFS0_FSiDS0_">limit(_:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery5limitFSiDS0_">limit(_:)</a>
</code>
</div>
<div class="height-container">
@@ -1631,12 +1847,12 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
- <p>Sets the limit on the query.</p>
+ <p>Sets the limit on the query. Default limit is
10.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">limit</span><span class="p">(</span><span
class="nv">limit</span><span class="p">:</span> <span
class="kt">Int</span><span class="p">)</span> <span class="o">-></span>
<span class="k">Self</span></code></pre>
@@ -1673,9 +1889,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery2qlFS0_FSSDS0_"></a>
+ <a name="/s:FC11UsergridSDK13UsergridQuery2qlFSSDS0_"></a>
<a name="//apple_ref/swift/Method/ql(_:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery2qlFS0_FSSDS0_">ql(_:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery2qlFSSDS0_">ql(_:)</a>
</code>
</div>
<div class="height-container">
@@ -1688,7 +1904,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">ql</span><span class="p">(</span><span class="nv">value</span><span
class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span
class="o">-></span> <span class="k">Self</span></code></pre>
@@ -1725,9 +1941,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery6cursorFS0_FGSqSS_DS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery6cursorFGSqSS_DS0_"></a>
<a name="//apple_ref/swift/Method/cursor(_:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery6cursorFS0_FGSqSS_DS0_">cursor(_:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery6cursorFGSqSS_DS0_">cursor(_:)</a>
</code>
</div>
<div class="height-container">
@@ -1740,7 +1956,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">cursor</span><span class="p">(</span><span
class="nv">value</span><span class="p">:</span> <span
class="kt">String</span><span class="p">?)</span> <span class="o">-></span>
<span class="k">Self</span></code></pre>
@@ -1777,9 +1993,61 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery7urlTermFS0_FTSS11equalsValueSS_DS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery10fromStringFGSqSS_DS0_"></a>
+ <a name="//apple_ref/swift/Method/fromString(_:)"
class="dashAnchor"></a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery10fromStringFGSqSS_DS0_">fromString(_:)</a>
+ </code>
+ </div>
+ <div class="height-container">
+ <div class="pointer-container"></div>
+ <section class="section">
+ <div class="pointer"></div>
+ <div class="abstract">
+ <p>A special builder property that allows you to input
a pre-defined query string. All builder properties will be ignored when this
property is defined.</p>
+
+ </div>
+ <div class="declaration">
+ <h4>Declaration</h4>
+ <div class="language">
+ <p class="aside-title">Swift</p>
+ <pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">fromString</span><span class="p">(</span><span
class="nv">value</span><span class="p">:</span> <span
class="kt">String</span><span class="p">?)</span> <span class="o">-></span>
<span class="k">Self</span></code></pre>
+
+ </div>
+ </div>
+ <div>
+ <h4>Parameters</h4>
+ <table class="graybox">
+ <tbody>
+ <tr>
+ <td>
+ <code>
+ <em>value</em>
+ </code>
+ </td>
+ <td>
+ <div>
+ <p>The pre-defined query string.</p>
+
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div>
+ <h4>Return Value</h4>
+ <p><code>Self</code></p>
+
+ </div>
+ </section>
+ </div>
+ </li>
+ <li class="item">
+ <div>
+ <code>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery7urlTermFTSS11equalsValueSS_DS0_"></a>
<a name="//apple_ref/swift/Method/urlTerm(_:equalsValue:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery7urlTermFS0_FTSS11equalsValueSS_DS0_">urlTerm(_:equalsValue:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery7urlTermFTSS11equalsValueSS_DS0_">urlTerm(_:equalsValue:)</a>
</code>
</div>
<div class="height-container">
@@ -1792,7 +2060,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">urlTerm</span><span class="p">(</span><span
class="nv">term</span><span class="p">:</span> <span
class="kt">String</span><span class="p">,</span> <span
class="nv">equalsValue</span><span class="p">:</span> <span
class="kt">String</span><span class="p">)</span> <span class="o">-></span>
<span class="k">Self</span></code></pre>
@@ -1842,9 +2110,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery23addOperationRequirementFS0_FTSS9operationOS_21UsergridQueryOperator11stringValueSS_DS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery23addOperationRequirementFTSS9operationOS_21UsergridQueryOperator11stringValueSS_DS0_"></a>
<a
name="//apple_ref/swift/Method/addOperationRequirement(_:operation:stringValue:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery23addOperationRequirementFS0_FTSS9operationOS_21UsergridQueryOperator11stringValueSS_DS0_">addOperationRequirement(_:operation:stringValue:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery23addOperationRequirementFTSS9operationOS_21UsergridQueryOperator11stringValueSS_DS0_">addOperationRequirement(_:operation:stringValue:)</a>
</code>
</div>
<div class="height-container">
@@ -1857,7 +2125,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">addOperationRequirement</span><span class="p">(</span><span
class="nv">term</span><span class="p">:</span> <span
class="kt">String</span><span class="p">,</span> <span
class="nv">operation</span><span class="p">:</span> <span
class="kt">UsergridQueryOperator</span><span class="p">,</span> <span
class="nv">stringValue</span><span class="p">:</span> <span
class="kt">String</span><span class="p">)</span> <span class="o">-></span>
<span class="k">Self</span></code></pre>
@@ -1920,9 +2188,9 @@
<li class="item">
<div>
<code>
- <a
name="/s:FC11UsergridSDK13UsergridQuery23addOperationRequirementFS0_FTSS9operationOS_21UsergridQueryOperator8intValueSi_DS0_"></a>
+ <a
name="/s:FC11UsergridSDK13UsergridQuery23addOperationRequirementFTSS9operationOS_21UsergridQueryOperator8intValueSi_DS0_"></a>
<a
name="//apple_ref/swift/Method/addOperationRequirement(_:operation:intValue:)"
class="dashAnchor"></a>
- <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery23addOperationRequirementFS0_FTSS9operationOS_21UsergridQueryOperator8intValueSi_DS0_">addOperationRequirement(_:operation:intValue:)</a>
+ <a class="token"
href="#/s:FC11UsergridSDK13UsergridQuery23addOperationRequirementFTSS9operationOS_21UsergridQueryOperator8intValueSi_DS0_">addOperationRequirement(_:operation:intValue:)</a>
</code>
</div>
<div class="height-container">
@@ -1935,7 +2203,7 @@
</div>
<div class="declaration">
<h4>Declaration</h4>
- <div class="Swift">
+ <div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span
class="kd">public</span> <span class="kd">func</span> <span
class="nf">addOperationRequirement</span><span class="p">(</span><span
class="nv">term</span><span class="p">:</span> <span
class="kt">String</span><span class="p">,</span> <span
class="nv">operation</span><span class="p">:</span> <span
class="kt">UsergridQueryOperator</span><span class="p">,</span> <span
class="nv">intValue</span><span class="p">:</span> <span
class="kt">Int</span><span class="p">)</span> <span class="o">-></span>
<span class="k">Self</span></code></pre>
@@ -2000,8 +2268,8 @@
</section>
</section>
<section id="footer">
- <p>© 2015 <a class="link" href="" target="_blank"
rel="external"></a>. All rights reserved. (Last updated: 2015-12-18)</p>
- <p>Generated by <a class="link"
href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy
âªâ« v0.3.2</a>, a <a class="link" href="http://realm.io" target="_blank"
rel="external">Realm</a> project.</p>
+ <p>© 2016 <a class="link" href="" target="_blank"
rel="external"></a>. All rights reserved. (Last updated: 2016-04-14)</p>
+ <p>Generated by <a class="link"
href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy
âªâ« v0.5.0</a>, a <a class="link" href="http://realm.io" target="_blank"
rel="external">Realm</a> project.</p>
</section>
</article>
</div>