Out with MagicOnion, in with LiteNetLib

Removed MagicOnion
Added LiteNetLib
Created client and server abstractions
Fixed serialization bugs
This commit is contained in:
hyperion51 2020-03-24 14:36:22 +00:00
commit e96146b7bb
869 changed files with 59401 additions and 16812 deletions

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1dfaee0af6b1bf140b15b8040457e585
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,101 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Add : ReqlExpr {
/// <summary>
/// <para>Sum two or more numbers, or concatenate two or more strings or arrays.</para>
/// </summary>
/// <example><para>Example: It's as easy as 2 + 2 = 4.</para>
/// <code>&gt; r.expr(2).add(2).run(conn, callback)
/// // result passed to callback
/// 4
/// </code></example>
public Add (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Sum two or more numbers, or concatenate two or more strings or arrays.</para>
/// </summary>
/// <example><para>Example: It's as easy as 2 + 2 = 4.</para>
/// <code>&gt; r.expr(2).add(2).run(conn, callback)
/// // result passed to callback
/// 4
/// </code></example>
public Add (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Sum two or more numbers, or concatenate two or more strings or arrays.</para>
/// </summary>
/// <example><para>Example: It's as easy as 2 + 2 = 4.</para>
/// <code>&gt; r.expr(2).add(2).run(conn, callback)
/// // result passed to callback
/// 4
/// </code></example>
public Add (Arguments args, OptArgs optargs)
: base(TermType.ADD, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 465c0991b25e7044385435b80b91ab43
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,104 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class And : ReqlExpr {
/// <summary>
/// <para>Compute the logical "and" of one or more values.</para>
/// </summary>
/// <example><para>Example: Return whether both <code>a</code> and <code>b</code> evaluate to true.</para>
/// <code>var a = true, b = false;
/// r.expr(a).and(b).run(conn, callback);
/// // result passed to callback
/// false
/// </code></example>
public And (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Compute the logical "and" of one or more values.</para>
/// </summary>
/// <example><para>Example: Return whether both <code>a</code> and <code>b</code> evaluate to true.</para>
/// <code>var a = true, b = false;
/// r.expr(a).and(b).run(conn, callback);
/// // result passed to callback
/// false
/// </code></example>
public And (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Compute the logical "and" of one or more values.</para>
/// </summary>
/// <example><para>Example: Return whether both <code>a</code> and <code>b</code> evaluate to true.</para>
/// <code>var a = true, b = false;
/// r.expr(a).and(b).run(conn, callback);
/// // result passed to callback
/// false
/// </code></example>
public And (Arguments args, OptArgs optargs)
: base(TermType.AND, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: fc869d802abbc534a8808262584a7047
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,95 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Append : ReqlExpr {
/// <summary>
/// <para>Append a value to an array.</para>
/// </summary>
/// <example><para>Example: Retrieve Iron Man's equipment list with the addition of some new boots.</para>
/// <code>r.table('marvel').get('IronMan')('equipment').append('newBoots').run(conn, callback)
/// </code></example>
public Append (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Append a value to an array.</para>
/// </summary>
/// <example><para>Example: Retrieve Iron Man's equipment list with the addition of some new boots.</para>
/// <code>r.table('marvel').get('IronMan')('equipment').append('newBoots').run(conn, callback)
/// </code></example>
public Append (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Append a value to an array.</para>
/// </summary>
/// <example><para>Example: Retrieve Iron Man's equipment list with the addition of some new boots.</para>
/// <code>r.table('marvel').get('IronMan')('equipment').append('newBoots').run(conn, callback)
/// </code></example>
public Append (Arguments args, OptArgs optargs)
: base(TermType.APPEND, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ba1741c071b147146b5aad68fac3a849
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,77 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class April : ReqlExpr {
public April (object arg) : this(new Arguments(arg), null) {
}
public April (Arguments args) : this(args, null) {
}
public April (Arguments args, OptArgs optargs)
: base(TermType.APRIL, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f12ae87b2a23d454cae2209e9a3b0a8f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,107 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Args : ReqlExpr {
/// <summary>
/// <para><code>r.args</code> is a special term that's used to splice an array of arguments
/// into another term. This is useful when you want to call a variadic
/// term such as <a href="/api/javascript/get_all/">getAll</a> with a set of arguments produced at runtime.</para>
/// </summary>
/// <example><para>Example: Get Alice and Bob from the table <code>people</code>.</para>
/// <code>r.table('people').getAll('Alice', 'Bob').run(conn, callback)
/// // or
/// r.table('people').getAll(r.args(['Alice', 'Bob'])).run(conn, callback)
/// </code></example>
public Args (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para><code>r.args</code> is a special term that's used to splice an array of arguments
/// into another term. This is useful when you want to call a variadic
/// term such as <a href="/api/javascript/get_all/">getAll</a> with a set of arguments produced at runtime.</para>
/// </summary>
/// <example><para>Example: Get Alice and Bob from the table <code>people</code>.</para>
/// <code>r.table('people').getAll('Alice', 'Bob').run(conn, callback)
/// // or
/// r.table('people').getAll(r.args(['Alice', 'Bob'])).run(conn, callback)
/// </code></example>
public Args (Arguments args) : this(args, null) {
}
/// <summary>
/// <para><code>r.args</code> is a special term that's used to splice an array of arguments
/// into another term. This is useful when you want to call a variadic
/// term such as <a href="/api/javascript/get_all/">getAll</a> with a set of arguments produced at runtime.</para>
/// </summary>
/// <example><para>Example: Get Alice and Bob from the table <code>people</code>.</para>
/// <code>r.table('people').getAll('Alice', 'Bob').run(conn, callback)
/// // or
/// r.table('people').getAll(r.args(['Alice', 'Bob'])).run(conn, callback)
/// </code></example>
public Args (Arguments args, OptArgs optargs)
: base(TermType.ARGS, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 38738fd8ca104444f9473c2f23941efe
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,77 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Asc : ReqlExpr {
public Asc (object arg) : this(new Arguments(arg), null) {
}
public Asc (Arguments args) : this(args, null) {
}
public Asc (Arguments args, OptArgs optargs)
: base(TermType.ASC, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: aa697ab4c4aa52e46874a867edc7aeb5
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,77 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class August : ReqlExpr {
public August (object arg) : this(new Arguments(arg), null) {
}
public August (Arguments args) : this(args, null) {
}
public August (Arguments args, OptArgs optargs)
: base(TermType.AUGUST, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 3cf9cf35938ba744a8bd9960478087c6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,110 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Avg : ReqlExpr {
/// <summary>
/// <para>Averages all the elements of a sequence. If called with a field name,
/// averages all the values of that field in the sequence, skipping
/// elements of the sequence that lack that field. If called with a
/// function, calls that function on every element of the sequence and
/// averages the results, skipping elements of the sequence where that
/// function returns <code>null</code> or a non-existence error.</para>
/// </summary>
/// <example><para>Example: What's the average of 3, 5, and 7?</para>
/// <code>r.expr([3, 5, 7]).avg().run(conn, callback)
/// </code></example>
public Avg (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Averages all the elements of a sequence. If called with a field name,
/// averages all the values of that field in the sequence, skipping
/// elements of the sequence that lack that field. If called with a
/// function, calls that function on every element of the sequence and
/// averages the results, skipping elements of the sequence where that
/// function returns <code>null</code> or a non-existence error.</para>
/// </summary>
/// <example><para>Example: What's the average of 3, 5, and 7?</para>
/// <code>r.expr([3, 5, 7]).avg().run(conn, callback)
/// </code></example>
public Avg (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Averages all the elements of a sequence. If called with a field name,
/// averages all the values of that field in the sequence, skipping
/// elements of the sequence that lack that field. If called with a
/// function, calls that function on every element of the sequence and
/// averages the results, skipping elements of the sequence where that
/// function returns <code>null</code> or a non-existence error.</para>
/// </summary>
/// <example><para>Example: What's the average of 3, 5, and 7?</para>
/// <code>r.expr([3, 5, 7]).avg().run(conn, callback)
/// </code></example>
public Avg (Arguments args, OptArgs optargs)
: base(TermType.AVG, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4051480d1182c4a4eb5cfc50fd022d5b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,138 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Between : ReqlExpr {
/// <summary>
/// <para>Get all documents between two keys. Accepts three optional arguments: <code>index</code>, <code>leftBound</code>, and <code>rightBound</code>. If <code>index</code> is set to the name of a secondary index, <code>between</code> will return all documents where that index's value is in the specified range (it uses the primary key by default). <code>leftBound</code> or <code>rightBound</code> may be set to <code>open</code> or <code>closed</code> to indicate whether or not to include that endpoint of the range (by default, <code>leftBound</code> is closed and <code>rightBound</code> is open).</para>
/// </summary>
/// <example><para>Example: Find all users with primary key &gt;= 10 and &lt; 20 (a normal half-open interval).</para>
/// <code>r.table('marvel').between(10, 20).run(conn, callback);
/// </code></example>
public Between (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Get all documents between two keys. Accepts three optional arguments: <code>index</code>, <code>leftBound</code>, and <code>rightBound</code>. If <code>index</code> is set to the name of a secondary index, <code>between</code> will return all documents where that index's value is in the specified range (it uses the primary key by default). <code>leftBound</code> or <code>rightBound</code> may be set to <code>open</code> or <code>closed</code> to indicate whether or not to include that endpoint of the range (by default, <code>leftBound</code> is closed and <code>rightBound</code> is open).</para>
/// </summary>
/// <example><para>Example: Find all users with primary key &gt;= 10 and &lt; 20 (a normal half-open interval).</para>
/// <code>r.table('marvel').between(10, 20).run(conn, callback);
/// </code></example>
public Between (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Get all documents between two keys. Accepts three optional arguments: <code>index</code>, <code>leftBound</code>, and <code>rightBound</code>. If <code>index</code> is set to the name of a secondary index, <code>between</code> will return all documents where that index's value is in the specified range (it uses the primary key by default). <code>leftBound</code> or <code>rightBound</code> may be set to <code>open</code> or <code>closed</code> to indicate whether or not to include that endpoint of the range (by default, <code>leftBound</code> is closed and <code>rightBound</code> is open).</para>
/// </summary>
/// <example><para>Example: Find all users with primary key &gt;= 10 and &lt; 20 (a normal half-open interval).</para>
/// <code>r.table('marvel').between(10, 20).run(conn, callback);
/// </code></example>
public Between (Arguments args, OptArgs optargs)
: base(TermType.BETWEEN, args, optargs) {
}
///<summary>
/// "index": "T_STR",
/// "left_bound": "E_BOUND",
/// "right_bound": "E_BOUND"
///</summary>
public Between this[object optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new Between (this.Args, newOptArgs);
}
}
///<summary>
/// "index": "T_STR",
/// "left_bound": "E_BOUND",
/// "right_bound": "E_BOUND"
///</summary>
public Between this[OptArgs optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new Between (this.Args, newOptArgs);
}
}
///<summary>
/// "index": "T_STR",
/// "left_bound": "E_BOUND",
/// "right_bound": "E_BOUND"
///</summary>
public Between OptArg(string key, object val){
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val);
return new Between (this.Args, newOptArgs);
}
internal Between optArg(string key, object val){
return this.OptArg(key, val);
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7d82803a53fcb744b990bc45411897d5
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,113 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
using RethinkDb.Driver.Net;
using Newtonsoft.Json.Linq;
namespace RethinkDb.Driver.Ast {
public partial class Binary : ReqlExpr {
byte[] b64Data = null;
public Binary (byte[] bytes) : this(new Arguments()){
b64Data = bytes;
}
public Binary (Object arg) : this(new Arguments(arg), null) {
}
public Binary (Arguments args) : this(args, null){
}
public Binary (Arguments args, OptArgs optargs) : this(TermType.BINARY, args, optargs) {
}
protected Binary (TermType termType, Arguments args, OptArgs optargs) : base(termType, args, optargs){
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
protected internal override object Build() {
if( b64Data != null){
return JObject.FromObject(b64Data, Converter.Serializer);
}
else{
return base.Build();
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: eeec98913b0f76947a1700dc6c948a11
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,95 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Bracket : ReqlExpr {
/// <summary>
/// <para>Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.</para>
/// </summary>
/// <example><para>Example: What was Iron Man's first appearance in a comic?</para>
/// <code>r.table('marvel').get('IronMan')('firstAppearance').run(conn, callback)
/// </code></example>
public Bracket (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.</para>
/// </summary>
/// <example><para>Example: What was Iron Man's first appearance in a comic?</para>
/// <code>r.table('marvel').get('IronMan')('firstAppearance').run(conn, callback)
/// </code></example>
public Bracket (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.</para>
/// </summary>
/// <example><para>Example: What was Iron Man's first appearance in a comic?</para>
/// <code>r.table('marvel').get('IronMan')('firstAppearance').run(conn, callback)
/// </code></example>
public Bracket (Arguments args, OptArgs optargs)
: base(TermType.BRACKET, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 85e518f86fcdb7740b26bcfd79228796
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,107 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Branch : ReqlExpr {
/// <summary>
/// <para>Perform a branching conditional equivalent to <code>if-then-else</code>.</para>
/// <para>The <code>branch</code> command takes 2n+1 arguments: pairs of conditional expressions and commands to be executed if the conditionals return any value but <code>false</code> or <code>null</code> (i.e., "truthy" values), with a final "else" command to be evaluated if all of the conditionals are <code>false</code> or <code>null</code>.</para>
/// </summary>
/// <example><para>Example: Test the value of x.</para>
/// <code>var x = 10;
/// r.branch(r.expr(x).gt(5), 'big', 'small').run(conn, callback);
/// // Result passed to callback
/// "big"
/// </code></example>
public Branch (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Perform a branching conditional equivalent to <code>if-then-else</code>.</para>
/// <para>The <code>branch</code> command takes 2n+1 arguments: pairs of conditional expressions and commands to be executed if the conditionals return any value but <code>false</code> or <code>null</code> (i.e., "truthy" values), with a final "else" command to be evaluated if all of the conditionals are <code>false</code> or <code>null</code>.</para>
/// </summary>
/// <example><para>Example: Test the value of x.</para>
/// <code>var x = 10;
/// r.branch(r.expr(x).gt(5), 'big', 'small').run(conn, callback);
/// // Result passed to callback
/// "big"
/// </code></example>
public Branch (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Perform a branching conditional equivalent to <code>if-then-else</code>.</para>
/// <para>The <code>branch</code> command takes 2n+1 arguments: pairs of conditional expressions and commands to be executed if the conditionals return any value but <code>false</code> or <code>null</code> (i.e., "truthy" values), with a final "else" command to be evaluated if all of the conditionals are <code>false</code> or <code>null</code>.</para>
/// </summary>
/// <example><para>Example: Test the value of x.</para>
/// <code>var x = 10;
/// r.branch(r.expr(x).gt(5), 'big', 'small').run(conn, callback);
/// // Result passed to callback
/// "big"
/// </code></example>
public Branch (Arguments args, OptArgs optargs)
: base(TermType.BRANCH, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7128464e5d72b744ab1bdb56ad23e1be
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,104 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Ceil : ReqlExpr {
/// <summary>
/// <para>Rounds the given value up, returning the smallest integer value greater than or equal to the given value (the value's ceiling).</para>
/// </summary>
/// <example><para>Example: Return the ceiling of 12.345.</para>
/// <code>r.ceil(12.345).run(conn, callback);
/// // Result passed to callback
/// 13.0
/// </code>
/// <para>The <code>ceil</code> command can also be chained after an expression.</para></example>
public Ceil (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Rounds the given value up, returning the smallest integer value greater than or equal to the given value (the value's ceiling).</para>
/// </summary>
/// <example><para>Example: Return the ceiling of 12.345.</para>
/// <code>r.ceil(12.345).run(conn, callback);
/// // Result passed to callback
/// 13.0
/// </code>
/// <para>The <code>ceil</code> command can also be chained after an expression.</para></example>
public Ceil (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Rounds the given value up, returning the smallest integer value greater than or equal to the given value (the value's ceiling).</para>
/// </summary>
/// <example><para>Example: Return the ceiling of 12.345.</para>
/// <code>r.ceil(12.345).run(conn, callback);
/// // Result passed to callback
/// 13.0
/// </code>
/// <para>The <code>ceil</code> command can also be chained after an expression.</para></example>
public Ceil (Arguments args, OptArgs optargs)
: base(TermType.CEIL, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a93426b03697df541ba28166ed585a23
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,95 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class ChangeAt : ReqlExpr {
/// <summary>
/// <para>Change a value in an array at a given index. Returns the modified array.</para>
/// </summary>
/// <example><para>Example: Bruce Banner hulks out.</para>
/// <code>r.expr(["Iron Man", "Bruce", "Spider-Man"]).changeAt(1, "Hulk").run(conn, callback)
/// </code></example>
public ChangeAt (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Change a value in an array at a given index. Returns the modified array.</para>
/// </summary>
/// <example><para>Example: Bruce Banner hulks out.</para>
/// <code>r.expr(["Iron Man", "Bruce", "Spider-Man"]).changeAt(1, "Hulk").run(conn, callback)
/// </code></example>
public ChangeAt (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Change a value in an array at a given index. Returns the modified array.</para>
/// </summary>
/// <example><para>Example: Bruce Banner hulks out.</para>
/// <code>r.expr(["Iron Man", "Bruce", "Spider-Man"]).changeAt(1, "Hulk").run(conn, callback)
/// </code></example>
public ChangeAt (Arguments args, OptArgs optargs)
: base(TermType.CHANGE_AT, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 5e4aedd14cf06524e8b89fdccc7a987a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,201 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Changes : ReqlExpr {
/// <summary>
/// <para>Turn a query into a changefeed, an infinite stream of objects representing changes to the query's results as they occur. A changefeed may return changes to a table or an individual document (a "point" changefeed). Commands such as <code>filter</code> or <code>map</code> may be used before the <code>changes</code> command to transform or filter the output, and many commands that operate on sequences can be chained after <code>changes</code>.</para>
/// </summary>
/// <example><para>Example: Subscribe to the changes on a table.</para>
/// <para>Start monitoring the changefeed in one client:</para>
/// <code>r.table('games').changes().run(conn, function(err, cursor) {
/// cursor.each(console.log);
/// });
/// </code>
/// <para>As these queries are performed in a second client, the first
/// client would receive and print the following objects:</para>
/// <code>&gt; r.table('games').insert({id: 1}).run(conn, callback);
/// {old_val: null, new_val: {id: 1}}
///
/// &gt; r.table('games').get(1).update({player1: 'Bob'}).run(conn, callback);
/// {old_val: {id: 1}, new_val: {id: 1, player1: 'Bob'}}
///
/// &gt; r.table('games').get(1).replace({id: 1, player1: 'Bob', player2: 'Alice'}).run(conn, callback);
/// {old_val: {id: 1, player1: 'Bob'},
/// new_val: {id: 1, player1: 'Bob', player2: 'Alice'}}
///
/// &gt; r.table('games').get(1).delete().run(conn, callback)
/// {old_val: {id: 1, player1: 'Bob', player2: 'Alice'}, new_val: null}
///
/// &gt; r.tableDrop('games').run(conn, callback);
/// ReqlRuntimeError: Changefeed aborted (table unavailable)
/// </code></example>
public Changes (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Turn a query into a changefeed, an infinite stream of objects representing changes to the query's results as they occur. A changefeed may return changes to a table or an individual document (a "point" changefeed). Commands such as <code>filter</code> or <code>map</code> may be used before the <code>changes</code> command to transform or filter the output, and many commands that operate on sequences can be chained after <code>changes</code>.</para>
/// </summary>
/// <example><para>Example: Subscribe to the changes on a table.</para>
/// <para>Start monitoring the changefeed in one client:</para>
/// <code>r.table('games').changes().run(conn, function(err, cursor) {
/// cursor.each(console.log);
/// });
/// </code>
/// <para>As these queries are performed in a second client, the first
/// client would receive and print the following objects:</para>
/// <code>&gt; r.table('games').insert({id: 1}).run(conn, callback);
/// {old_val: null, new_val: {id: 1}}
///
/// &gt; r.table('games').get(1).update({player1: 'Bob'}).run(conn, callback);
/// {old_val: {id: 1}, new_val: {id: 1, player1: 'Bob'}}
///
/// &gt; r.table('games').get(1).replace({id: 1, player1: 'Bob', player2: 'Alice'}).run(conn, callback);
/// {old_val: {id: 1, player1: 'Bob'},
/// new_val: {id: 1, player1: 'Bob', player2: 'Alice'}}
///
/// &gt; r.table('games').get(1).delete().run(conn, callback)
/// {old_val: {id: 1, player1: 'Bob', player2: 'Alice'}, new_val: null}
///
/// &gt; r.tableDrop('games').run(conn, callback);
/// ReqlRuntimeError: Changefeed aborted (table unavailable)
/// </code></example>
public Changes (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Turn a query into a changefeed, an infinite stream of objects representing changes to the query's results as they occur. A changefeed may return changes to a table or an individual document (a "point" changefeed). Commands such as <code>filter</code> or <code>map</code> may be used before the <code>changes</code> command to transform or filter the output, and many commands that operate on sequences can be chained after <code>changes</code>.</para>
/// </summary>
/// <example><para>Example: Subscribe to the changes on a table.</para>
/// <para>Start monitoring the changefeed in one client:</para>
/// <code>r.table('games').changes().run(conn, function(err, cursor) {
/// cursor.each(console.log);
/// });
/// </code>
/// <para>As these queries are performed in a second client, the first
/// client would receive and print the following objects:</para>
/// <code>&gt; r.table('games').insert({id: 1}).run(conn, callback);
/// {old_val: null, new_val: {id: 1}}
///
/// &gt; r.table('games').get(1).update({player1: 'Bob'}).run(conn, callback);
/// {old_val: {id: 1}, new_val: {id: 1, player1: 'Bob'}}
///
/// &gt; r.table('games').get(1).replace({id: 1, player1: 'Bob', player2: 'Alice'}).run(conn, callback);
/// {old_val: {id: 1, player1: 'Bob'},
/// new_val: {id: 1, player1: 'Bob', player2: 'Alice'}}
///
/// &gt; r.table('games').get(1).delete().run(conn, callback)
/// {old_val: {id: 1, player1: 'Bob', player2: 'Alice'}, new_val: null}
///
/// &gt; r.tableDrop('games').run(conn, callback);
/// ReqlRuntimeError: Changefeed aborted (table unavailable)
/// </code></example>
public Changes (Arguments args, OptArgs optargs)
: base(TermType.CHANGES, args, optargs) {
}
///<summary>
/// "squash": "T_BOOL",
/// "include_states": "T_BOOL",
/// "include_initial": "T_BOOL"
///</summary>
public Changes this[object optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new Changes (this.Args, newOptArgs);
}
}
///<summary>
/// "squash": "T_BOOL",
/// "include_states": "T_BOOL",
/// "include_initial": "T_BOOL"
///</summary>
public Changes this[OptArgs optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new Changes (this.Args, newOptArgs);
}
}
///<summary>
/// "squash": "T_BOOL",
/// "include_states": "T_BOOL",
/// "include_initial": "T_BOOL"
///</summary>
public Changes OptArg(string key, object val){
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val);
return new Changes (this.Args, newOptArgs);
}
internal Changes optArg(string key, object val){
return this.OptArg(key, val);
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e1ec8cfca8b60d847b4b3a7a9c2da36d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,153 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Circle : ReqlExpr {
/// <summary>
/// <para>Construct a circular line or polygon. A circle in RethinkDB is a polygon or line <em>approximating</em> a circle of a given radius around a given center, consisting of a specified number of vertices (default 32).</para>
/// </summary>
/// <example><para>Example: Define a circle.</para>
/// <code>r.table('geo').insert({
/// id: 300,
/// name: 'Hayes Valley',
/// neighborhood: r.circle([-122.423246,37.779388], 1000)
/// }).run(conn, callback);
/// </code></example>
public Circle (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Construct a circular line or polygon. A circle in RethinkDB is a polygon or line <em>approximating</em> a circle of a given radius around a given center, consisting of a specified number of vertices (default 32).</para>
/// </summary>
/// <example><para>Example: Define a circle.</para>
/// <code>r.table('geo').insert({
/// id: 300,
/// name: 'Hayes Valley',
/// neighborhood: r.circle([-122.423246,37.779388], 1000)
/// }).run(conn, callback);
/// </code></example>
public Circle (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Construct a circular line or polygon. A circle in RethinkDB is a polygon or line <em>approximating</em> a circle of a given radius around a given center, consisting of a specified number of vertices (default 32).</para>
/// </summary>
/// <example><para>Example: Define a circle.</para>
/// <code>r.table('geo').insert({
/// id: 300,
/// name: 'Hayes Valley',
/// neighborhood: r.circle([-122.423246,37.779388], 1000)
/// }).run(conn, callback);
/// </code></example>
public Circle (Arguments args, OptArgs optargs)
: base(TermType.CIRCLE, args, optargs) {
}
///<summary>
/// "num_vertices": "T_EXPR",
/// "geo_system": "E_GEO_SYSTEM",
/// "unit": "E_UNIT",
/// "fill": "T_BOOL"
///</summary>
public Circle this[object optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new Circle (this.Args, newOptArgs);
}
}
///<summary>
/// "num_vertices": "T_EXPR",
/// "geo_system": "E_GEO_SYSTEM",
/// "unit": "E_UNIT",
/// "fill": "T_BOOL"
///</summary>
public Circle this[OptArgs optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new Circle (this.Args, newOptArgs);
}
}
///<summary>
/// "num_vertices": "T_EXPR",
/// "geo_system": "E_GEO_SYSTEM",
/// "unit": "E_UNIT",
/// "fill": "T_BOOL"
///</summary>
public Circle OptArg(string key, object val){
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val);
return new Circle (this.Args, newOptArgs);
}
internal Circle optArg(string key, object val){
return this.OptArg(key, val);
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 8e871819880abc742a1e4c0541eed00c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,101 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class CoerceTo : ReqlExpr {
/// <summary>
/// <para>Convert a value of one type into another.</para>
/// </summary>
/// <example><para>Example: Coerce a stream to an array to store its output in a field. (A stream cannot be stored in a field directly.)</para>
/// <code>r.table('posts').map(function (post) {
/// return post.merge({ comments: r.table('comments').getAll(post('id'), {index: 'postId'}).coerceTo('array')});
/// }).run(conn, callback)
/// </code></example>
public CoerceTo (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Convert a value of one type into another.</para>
/// </summary>
/// <example><para>Example: Coerce a stream to an array to store its output in a field. (A stream cannot be stored in a field directly.)</para>
/// <code>r.table('posts').map(function (post) {
/// return post.merge({ comments: r.table('comments').getAll(post('id'), {index: 'postId'}).coerceTo('array')});
/// }).run(conn, callback)
/// </code></example>
public CoerceTo (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Convert a value of one type into another.</para>
/// </summary>
/// <example><para>Example: Coerce a stream to an array to store its output in a field. (A stream cannot be stored in a field directly.)</para>
/// <code>r.table('posts').map(function (post) {
/// return post.merge({ comments: r.table('comments').getAll(post('id'), {index: 'postId'}).coerceTo('array')});
/// }).run(conn, callback)
/// </code></example>
public CoerceTo (Arguments args, OptArgs optargs)
: base(TermType.COERCE_TO, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 51ce27b3b301be149b9cf6a4b76148c4
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,101 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class ConcatMap : ReqlExpr {
/// <summary>
/// <para>Concatenate one or more elements into a single sequence using a mapping function.</para>
/// </summary>
/// <example><para>Example: Construct a sequence of all monsters defeated by Marvel heroes. The field "defeatedMonsters" is an array of one or more monster names.</para>
/// <code>r.table('marvel').concatMap(function(hero) {
/// return hero('defeatedMonsters')
/// }).run(conn, callback)
/// </code></example>
public ConcatMap (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Concatenate one or more elements into a single sequence using a mapping function.</para>
/// </summary>
/// <example><para>Example: Construct a sequence of all monsters defeated by Marvel heroes. The field "defeatedMonsters" is an array of one or more monster names.</para>
/// <code>r.table('marvel').concatMap(function(hero) {
/// return hero('defeatedMonsters')
/// }).run(conn, callback)
/// </code></example>
public ConcatMap (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Concatenate one or more elements into a single sequence using a mapping function.</para>
/// </summary>
/// <example><para>Example: Construct a sequence of all monsters defeated by Marvel heroes. The field "defeatedMonsters" is an array of one or more monster names.</para>
/// <code>r.table('marvel').concatMap(function(hero) {
/// return hero('defeatedMonsters')
/// }).run(conn, callback)
/// </code></example>
public ConcatMap (Arguments args, OptArgs optargs)
: base(TermType.CONCAT_MAP, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 5bc0b2beda5539f42a65b44b4cf30d2f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,95 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Config : ReqlExpr {
/// <summary>
/// <para>Query (read and/or update) the configurations for individual tables or databases.</para>
/// </summary>
/// <example><para>Example: Get the configuration for the <code>users</code> table.</para>
/// <code>&gt; r.table('users').config().run(conn, callback);
/// </code></example>
public Config (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Query (read and/or update) the configurations for individual tables or databases.</para>
/// </summary>
/// <example><para>Example: Get the configuration for the <code>users</code> table.</para>
/// <code>&gt; r.table('users').config().run(conn, callback);
/// </code></example>
public Config (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Query (read and/or update) the configurations for individual tables or databases.</para>
/// </summary>
/// <example><para>Example: Get the configuration for the <code>users</code> table.</para>
/// <code>&gt; r.table('users').config().run(conn, callback);
/// </code></example>
public Config (Arguments args, OptArgs optargs)
: base(TermType.CONFIG, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 350d1add2e0247949a6135cb9d41b199
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,104 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Contains : ReqlExpr {
/// <summary>
/// <para>When called with values, returns <code>true</code> if a sequence contains all the
/// specified values. When called with predicate functions, returns <code>true</code>
/// if for each predicate there exists at least one element of the stream
/// where that predicate returns <code>true</code>.</para>
/// </summary>
/// <example><para>Example: Has Iron Man ever fought Superman?</para>
/// <code>r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback)
/// </code></example>
public Contains (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>When called with values, returns <code>true</code> if a sequence contains all the
/// specified values. When called with predicate functions, returns <code>true</code>
/// if for each predicate there exists at least one element of the stream
/// where that predicate returns <code>true</code>.</para>
/// </summary>
/// <example><para>Example: Has Iron Man ever fought Superman?</para>
/// <code>r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback)
/// </code></example>
public Contains (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>When called with values, returns <code>true</code> if a sequence contains all the
/// specified values. When called with predicate functions, returns <code>true</code>
/// if for each predicate there exists at least one element of the stream
/// where that predicate returns <code>true</code>.</para>
/// </summary>
/// <example><para>Example: Has Iron Man ever fought Superman?</para>
/// <code>r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback)
/// </code></example>
public Contains (Arguments args, OptArgs optargs)
: base(TermType.CONTAINS, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 3c28d83d657e661468d4201919321188
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,95 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Count : ReqlExpr {
/// <summary>
/// <para>Counts the number of elements in a sequence or key/value pairs in an object, or returns the size of a string or binary object.</para>
/// </summary>
/// <example><para>Example: Count the number of users.</para>
/// <code>r.table('users').count().run(conn, callback);
/// </code></example>
public Count (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Counts the number of elements in a sequence or key/value pairs in an object, or returns the size of a string or binary object.</para>
/// </summary>
/// <example><para>Example: Count the number of users.</para>
/// <code>r.table('users').count().run(conn, callback);
/// </code></example>
public Count (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Counts the number of elements in a sequence or key/value pairs in an object, or returns the size of a string or binary object.</para>
/// </summary>
/// <example><para>Example: Count the number of users.</para>
/// <code>r.table('users').count().run(conn, callback);
/// </code></example>
public Count (Arguments args, OptArgs optargs)
: base(TermType.COUNT, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d1e624b87a34d374285bcee7d6ff899c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,101 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Date : ReqlExpr {
/// <summary>
/// <para>Return a new time object only based on the day, month and year (ie. the same day at 00:00).</para>
/// </summary>
/// <example><para>Example: Retrieve all the users whose birthday is today.</para>
/// <code>r.table("users").filter(function(user) {
/// return user("birthdate").date().eq(r.now().date())
/// }).run(conn, callback)
/// </code></example>
public Date (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Return a new time object only based on the day, month and year (ie. the same day at 00:00).</para>
/// </summary>
/// <example><para>Example: Retrieve all the users whose birthday is today.</para>
/// <code>r.table("users").filter(function(user) {
/// return user("birthdate").date().eq(r.now().date())
/// }).run(conn, callback)
/// </code></example>
public Date (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Return a new time object only based on the day, month and year (ie. the same day at 00:00).</para>
/// </summary>
/// <example><para>Example: Retrieve all the users whose birthday is today.</para>
/// <code>r.table("users").filter(function(user) {
/// return user("birthdate").date().eq(r.now().date())
/// }).run(conn, callback)
/// </code></example>
public Date (Arguments args, OptArgs optargs)
: base(TermType.DATE, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ae97ee4cd9aad6442806c61a3f842201
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,93 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Datum : ReqlExpr {
public Datum(object arg) : base(TermType.DATUM, null, null) {
datum = arg;
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
internal object datum;
protected internal override object Build() {
// Overridden because Datums are leaf-nodes and therefore
// don't contain lower ReqlAst objects.
return datum;
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 613d3a632cf33084e9a7fd723f18463f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,101 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Day : ReqlExpr {
/// <summary>
/// <para>Return the day of a time object as a number between 1 and 31.</para>
/// </summary>
/// <example><para>Example: Return the users born on the 24th of any month.</para>
/// <code>r.table("users").filter(
/// r.row("birthdate").day().eq(24)
/// ).run(conn, callback)
/// </code></example>
public Day (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Return the day of a time object as a number between 1 and 31.</para>
/// </summary>
/// <example><para>Example: Return the users born on the 24th of any month.</para>
/// <code>r.table("users").filter(
/// r.row("birthdate").day().eq(24)
/// ).run(conn, callback)
/// </code></example>
public Day (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Return the day of a time object as a number between 1 and 31.</para>
/// </summary>
/// <example><para>Example: Return the users born on the 24th of any month.</para>
/// <code>r.table("users").filter(
/// r.row("birthdate").day().eq(24)
/// ).run(conn, callback)
/// </code></example>
public Day (Arguments args, OptArgs optargs)
: base(TermType.DAY, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d6516873a602d1a41882d2b4e5374d38
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,95 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class DayOfWeek : ReqlExpr {
/// <summary>
/// <para>Return the day of week of a time object as a number between 1 and 7 (following ISO 8601 standard). For your convenience, the terms r.monday, r.tuesday etc. are defined and map to the appropriate integer.</para>
/// </summary>
/// <example><para>Example: Return today's day of week.</para>
/// <code>r.now().dayOfWeek().run(conn, callback)
/// </code></example>
public DayOfWeek (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Return the day of week of a time object as a number between 1 and 7 (following ISO 8601 standard). For your convenience, the terms r.monday, r.tuesday etc. are defined and map to the appropriate integer.</para>
/// </summary>
/// <example><para>Example: Return today's day of week.</para>
/// <code>r.now().dayOfWeek().run(conn, callback)
/// </code></example>
public DayOfWeek (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Return the day of week of a time object as a number between 1 and 7 (following ISO 8601 standard). For your convenience, the terms r.monday, r.tuesday etc. are defined and map to the appropriate integer.</para>
/// </summary>
/// <example><para>Example: Return today's day of week.</para>
/// <code>r.now().dayOfWeek().run(conn, callback)
/// </code></example>
public DayOfWeek (Arguments args, OptArgs optargs)
: base(TermType.DAY_OF_WEEK, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e8155c9543cb17740b6a01774aa749a4
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,101 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class DayOfYear : ReqlExpr {
/// <summary>
/// <para>Return the day of the year of a time object as a number between 1 and 366 (following ISO 8601 standard).</para>
/// </summary>
/// <example><para>Example: Retrieve all the users who were born the first day of a year.</para>
/// <code>r.table("users").filter(
/// r.row("birthdate").dayOfYear().eq(1)
/// )
/// </code></example>
public DayOfYear (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Return the day of the year of a time object as a number between 1 and 366 (following ISO 8601 standard).</para>
/// </summary>
/// <example><para>Example: Retrieve all the users who were born the first day of a year.</para>
/// <code>r.table("users").filter(
/// r.row("birthdate").dayOfYear().eq(1)
/// )
/// </code></example>
public DayOfYear (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Return the day of the year of a time object as a number between 1 and 366 (following ISO 8601 standard).</para>
/// </summary>
/// <example><para>Example: Retrieve all the users who were born the first day of a year.</para>
/// <code>r.table("users").filter(
/// r.row("birthdate").dayOfYear().eq(1)
/// )
/// </code></example>
public DayOfYear (Arguments args, OptArgs optargs)
: base(TermType.DAY_OF_YEAR, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b6ff27fa8d540c847ae712e7af6146cb
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,302 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Db : ReqlAst {
/// <summary>
/// <para>Reference a database.</para>
/// </summary>
/// <example><para>Example: Explicitly specify a database for a query.</para>
/// <code>r.db('heroes').table('marvel').run(conn, callback)
/// </code></example>
public Db (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Reference a database.</para>
/// </summary>
/// <example><para>Example: Explicitly specify a database for a query.</para>
/// <code>r.db('heroes').table('marvel').run(conn, callback)
/// </code></example>
public Db (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Reference a database.</para>
/// </summary>
/// <example><para>Example: Explicitly specify a database for a query.</para>
/// <code>r.db('heroes').table('marvel').run(conn, callback)
/// </code></example>
public Db (Arguments args, OptArgs optargs)
: base(TermType.DB, args, optargs) {
}
/// <summary>
/// <para>Return all documents in a table. Other commands may be chained after <code>table</code> to return a subset of documents (such as <a href="/api/javascript/get/">get</a> and <a href="/api/javascript/filter/">filter</a>) or perform further processing.</para>
/// </summary>
/// <example><para>Example: Return all documents in the table 'marvel' of the default database.</para>
/// <code>r.table('marvel').run(conn, callback)
/// </code></example>
public Table Table ( Object expr )
{
Arguments arguments = new Arguments(this);
arguments.CoerceAndAdd(expr);
return new Table (arguments );
}
internal Table table ( Object expr )
{
return Table ( expr );
}
/// <summary>
/// <para>Create a table. A RethinkDB table is a collection of JSON documents.</para>
/// </summary>
/// <example><para>Example: Create a table named 'dc_universe' with the default settings.</para>
/// <code>&gt; r.db('heroes').tableCreate('dc_universe').run(conn, callback);
/// // Result passed to callback
/// {
/// "config_changes": [
/// {
/// "new_val": {
/// "db": "test",
/// "durability": "hard",
/// "id": "20ea60d4-3b76-4817-8828-98a236df0297",
/// "name": "dc_universe",
/// "primary_key": "id",
/// "shards": [
/// {
/// "primary_replica": "rethinkdb_srv1",
/// "replicas": [
/// "rethinkdb_srv1",
/// "rethinkdb_srv2"
/// ]
/// }
/// ],
/// "write_acks": "majority"
/// },
/// "old_val": null
/// }
/// ],
/// "tables_created": 1
/// }
/// </code></example>
public TableCreate TableCreate ( Object expr )
{
Arguments arguments = new Arguments(this);
arguments.CoerceAndAdd(expr);
return new TableCreate (arguments );
}
internal TableCreate tableCreate ( Object expr )
{
return TableCreate ( expr );
}
/// <summary>
/// <para>Drop a table from a database. The table and all its data will be deleted.</para>
/// </summary>
/// <example><para>Example: Drop a table named 'dc_universe'.</para>
/// <code>&gt; r.db('test').tableDrop('dc_universe').run(conn, callback);
/// // Result passed to callback
/// {
/// "config_changes": [
/// {
/// "old_val": {
/// "db": "test",
/// "durability": "hard",
/// "id": "20ea60d4-3b76-4817-8828-98a236df0297",
/// "name": "dc_universe",
/// "primary_key": "id",
/// "shards": [
/// {
/// "primary_replica": "rethinkdb_srv1",
/// "replicas": [
/// "rethinkdb_srv1",
/// "rethinkdb_srv2"
/// ]
/// }
/// ],
/// "write_acks": "majority"
/// },
/// "new_val": null
/// }
/// ],
/// "tables_dropped": 1
/// }
/// </code></example>
public TableDrop TableDrop ( Object expr )
{
Arguments arguments = new Arguments(this);
arguments.CoerceAndAdd(expr);
return new TableDrop (arguments );
}
internal TableDrop tableDrop ( Object expr )
{
return TableDrop ( expr );
}
/// <summary>
/// <para>List all table names in a database. The result is a list of strings.</para>
/// </summary>
/// <example><para>Example: List all tables of the 'test' database.</para>
/// <code>r.db('test').tableList().run(conn, callback)
/// </code></example>
public TableList TableList ( )
{
Arguments arguments = new Arguments(this);
return new TableList (arguments );
}
internal TableList tableList ( )
{
return TableList ( );
}
/// <summary>
/// <para>Query (read and/or update) the configurations for individual tables or databases.</para>
/// </summary>
/// <example><para>Example: Get the configuration for the <code>users</code> table.</para>
/// <code>&gt; r.table('users').config().run(conn, callback);
/// </code></example>
public Config Config ( )
{
Arguments arguments = new Arguments(this);
return new Config (arguments );
}
internal Config config ( )
{
return Config ( );
}
/// <summary>
/// <para>Wait for a table or all the tables in a database to be ready. A table may be temporarily unavailable after creation, rebalancing or reconfiguring. The <code>wait</code> command blocks until the given table (or database) is fully up to date.</para>
/// </summary>
/// <example><para>Example: Wait on a table to be ready.</para>
/// <code>&gt; r.table('superheroes').wait().run(conn, callback);
/// // Result passed to callback
/// { "ready": 1 }
/// </code></example>
public Wait Wait_ ( )
{
Arguments arguments = new Arguments(this);
return new Wait (arguments );
}
internal Wait wait_ ( )
{
return Wait_ ( );
}
/// <summary>
/// <para>Reconfigure a table's sharding and replication.</para>
/// </summary>
/// <example><para>Example: Reconfigure a table.</para>
/// <code>&gt; r.table('superheroes').reconfigure({shards: 2, replicas: 1}).run(conn, callback);
/// </code></example>
public Reconfigure Reconfigure ( )
{
Arguments arguments = new Arguments(this);
return new Reconfigure (arguments );
}
internal Reconfigure reconfigure ( )
{
return Reconfigure ( );
}
/// <summary>
/// <para>Rebalances the shards of a table. When called on a database, all the tables in that database will be rebalanced.</para>
/// </summary>
/// <example><para>Example: Rebalance a table.</para>
/// <code>&gt; r.table('superheroes').rebalance().run(conn, callback);
/// </code></example>
public Rebalance Rebalance ( )
{
Arguments arguments = new Arguments(this);
return new Rebalance (arguments );
}
internal Rebalance rebalance ( )
{
return Rebalance ( );
}
/// <summary>
/// <para>Grant or deny access permissions for a user account, globally or on a per-database or per-table basis.</para>
/// </summary>
/// <example><para>Example: Grant the <code>chatapp</code> user account read and write permissions on the <code>users</code> database.</para>
/// <code>r.db('users').grant('chatapp', {read: true, write: true}).run(conn, callback);
///
/// // Result passed to callback
/// {
/// "granted": 1,
/// "permissions_changes": [
/// {
/// "new_val": { "read": true, "write": true },
/// "old_val": { null }
/// }
/// ]
/// </code></example>
public Grant Grant ( Object expr, Object exprA )
{
Arguments arguments = new Arguments(this);
arguments.CoerceAndAdd(expr);
arguments.CoerceAndAdd(exprA);
return new Grant (arguments );
}
internal Grant grant ( Object expr, Object exprA )
{
return Grant ( expr, exprA );
}
/// <summary>
/// <para>Get information about a ReQL value.</para>
/// </summary>
/// <example><para>Example: Get information about a table such as primary key, or cache size.</para>
/// <code>r.table('marvel').info().run(conn, callback)
/// </code></example>
public Info Info ( )
{
Arguments arguments = new Arguments(this);
return new Info (arguments );
}
internal Info info ( )
{
return Info ( );
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e94984daa0f173149a8d13099d7fc1da
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,137 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class DbCreate : ReqlExpr {
/// <summary>
/// <para>Create a database. A RethinkDB database is a collection of tables, similar to
/// relational databases.</para>
/// </summary>
/// <example><para>Example: Create a database named 'superheroes'.</para>
/// <code>&gt; r.dbCreate('superheroes').run(conn, callback);
/// // Result passed to callback
/// {
/// "config_changes": [
/// {
/// "new_val": {
/// "id": "e4689cfc-e903-4532-a0e6-2d6797a43f07",
/// "name": "superheroes"
/// },
/// "old_val": null
/// }
/// ],
/// "dbs_created": 1
/// }
/// </code></example>
public DbCreate (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Create a database. A RethinkDB database is a collection of tables, similar to
/// relational databases.</para>
/// </summary>
/// <example><para>Example: Create a database named 'superheroes'.</para>
/// <code>&gt; r.dbCreate('superheroes').run(conn, callback);
/// // Result passed to callback
/// {
/// "config_changes": [
/// {
/// "new_val": {
/// "id": "e4689cfc-e903-4532-a0e6-2d6797a43f07",
/// "name": "superheroes"
/// },
/// "old_val": null
/// }
/// ],
/// "dbs_created": 1
/// }
/// </code></example>
public DbCreate (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Create a database. A RethinkDB database is a collection of tables, similar to
/// relational databases.</para>
/// </summary>
/// <example><para>Example: Create a database named 'superheroes'.</para>
/// <code>&gt; r.dbCreate('superheroes').run(conn, callback);
/// // Result passed to callback
/// {
/// "config_changes": [
/// {
/// "new_val": {
/// "id": "e4689cfc-e903-4532-a0e6-2d6797a43f07",
/// "name": "superheroes"
/// },
/// "old_val": null
/// }
/// ],
/// "dbs_created": 1
/// }
/// </code></example>
public DbCreate (Arguments args, OptArgs optargs)
: base(TermType.DB_CREATE, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e46ed03d7efa6c542866d9b4e1826db4
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,137 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class DbDrop : ReqlExpr {
/// <summary>
/// <para>Drop a database. The database, all its tables, and corresponding data will be deleted.</para>
/// </summary>
/// <example><para>Example: Drop a database named 'superheroes'.</para>
/// <code>&gt; r.dbDrop('superheroes').run(conn, callback);
/// // Result passed to callback
/// {
/// "config_changes": [
/// {
/// "old_val": {
/// "id": "e4689cfc-e903-4532-a0e6-2d6797a43f07",
/// "name": "superheroes"
/// },
/// "new_val": null
/// }
/// ],
/// "tables_dropped": 3,
/// "dbs_dropped": 1
/// }
/// </code></example>
public DbDrop (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Drop a database. The database, all its tables, and corresponding data will be deleted.</para>
/// </summary>
/// <example><para>Example: Drop a database named 'superheroes'.</para>
/// <code>&gt; r.dbDrop('superheroes').run(conn, callback);
/// // Result passed to callback
/// {
/// "config_changes": [
/// {
/// "old_val": {
/// "id": "e4689cfc-e903-4532-a0e6-2d6797a43f07",
/// "name": "superheroes"
/// },
/// "new_val": null
/// }
/// ],
/// "tables_dropped": 3,
/// "dbs_dropped": 1
/// }
/// </code></example>
public DbDrop (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Drop a database. The database, all its tables, and corresponding data will be deleted.</para>
/// </summary>
/// <example><para>Example: Drop a database named 'superheroes'.</para>
/// <code>&gt; r.dbDrop('superheroes').run(conn, callback);
/// // Result passed to callback
/// {
/// "config_changes": [
/// {
/// "old_val": {
/// "id": "e4689cfc-e903-4532-a0e6-2d6797a43f07",
/// "name": "superheroes"
/// },
/// "new_val": null
/// }
/// ],
/// "tables_dropped": 3,
/// "dbs_dropped": 1
/// }
/// </code></example>
public DbDrop (Arguments args, OptArgs optargs)
: base(TermType.DB_DROP, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: fe628c9ba2677c04fbebdc95f3585a36
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,95 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class DbList : ReqlExpr {
/// <summary>
/// <para>List all database names in the system. The result is a list of strings.</para>
/// </summary>
/// <example><para>Example: List all databases.</para>
/// <code>r.dbList().run(conn, callback)
/// </code></example>
public DbList (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>List all database names in the system. The result is a list of strings.</para>
/// </summary>
/// <example><para>Example: List all databases.</para>
/// <code>r.dbList().run(conn, callback)
/// </code></example>
public DbList (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>List all database names in the system. The result is a list of strings.</para>
/// </summary>
/// <example><para>Example: List all databases.</para>
/// <code>r.dbList().run(conn, callback)
/// </code></example>
public DbList (Arguments args, OptArgs optargs)
: base(TermType.DB_LIST, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f4b15a2441519884d893d04f2d270eb2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,77 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class December : ReqlExpr {
public December (object arg) : this(new Arguments(arg), null) {
}
public December (Arguments args) : this(args, null) {
}
public December (Arguments args, OptArgs optargs)
: base(TermType.DECEMBER, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 53d6556e979264349be211450cc3f2c0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,116 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Default : ReqlExpr {
/// <summary>
/// <para>Provide a default value in case of non-existence errors. The <code>default</code> command evaluates its first argument (the value it's chained to). If that argument returns <code>null</code> or a non-existence error is thrown in evaluation, then <code>default</code> returns its second argument. The second argument is usually a default value, but it can be a function that returns a value.</para>
/// </summary>
/// <example><para>Example: Retrieve the titles and authors of the table <code>posts</code>.
/// In the case where the author field is missing or <code>null</code>, we want to retrieve the string
/// <code>Anonymous</code>.</para>
/// <code>r.table("posts").map(function (post) {
/// return {
/// title: post("title"),
/// author: post("author").default("Anonymous")
/// }
/// }).run(conn, callback);
/// </code></example>
public Default (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Provide a default value in case of non-existence errors. The <code>default</code> command evaluates its first argument (the value it's chained to). If that argument returns <code>null</code> or a non-existence error is thrown in evaluation, then <code>default</code> returns its second argument. The second argument is usually a default value, but it can be a function that returns a value.</para>
/// </summary>
/// <example><para>Example: Retrieve the titles and authors of the table <code>posts</code>.
/// In the case where the author field is missing or <code>null</code>, we want to retrieve the string
/// <code>Anonymous</code>.</para>
/// <code>r.table("posts").map(function (post) {
/// return {
/// title: post("title"),
/// author: post("author").default("Anonymous")
/// }
/// }).run(conn, callback);
/// </code></example>
public Default (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Provide a default value in case of non-existence errors. The <code>default</code> command evaluates its first argument (the value it's chained to). If that argument returns <code>null</code> or a non-existence error is thrown in evaluation, then <code>default</code> returns its second argument. The second argument is usually a default value, but it can be a function that returns a value.</para>
/// </summary>
/// <example><para>Example: Retrieve the titles and authors of the table <code>posts</code>.
/// In the case where the author field is missing or <code>null</code>, we want to retrieve the string
/// <code>Anonymous</code>.</para>
/// <code>r.table("posts").map(function (post) {
/// return {
/// title: post("title"),
/// author: post("author").default("Anonymous")
/// }
/// }).run(conn, callback);
/// </code></example>
public Default (Arguments args, OptArgs optargs)
: base(TermType.DEFAULT, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 5e323839766f5d848abaccbfa01b21a0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,144 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Delete : ReqlExpr {
/// <summary>
/// <para>Delete one or more documents from a table.</para>
/// </summary>
/// <example><para>Example: Delete a single document from the table <code>comments</code>.</para>
/// <code>r.table("comments").get("7eab9e63-73f1-4f33-8ce4-95cbea626f59").delete().run(conn, callback)
/// </code></example>
public Delete (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Delete one or more documents from a table.</para>
/// </summary>
/// <example><para>Example: Delete a single document from the table <code>comments</code>.</para>
/// <code>r.table("comments").get("7eab9e63-73f1-4f33-8ce4-95cbea626f59").delete().run(conn, callback)
/// </code></example>
public Delete (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Delete one or more documents from a table.</para>
/// </summary>
/// <example><para>Example: Delete a single document from the table <code>comments</code>.</para>
/// <code>r.table("comments").get("7eab9e63-73f1-4f33-8ce4-95cbea626f59").delete().run(conn, callback)
/// </code></example>
public Delete (Arguments args, OptArgs optargs)
: base(TermType.DELETE, args, optargs) {
}
///<summary>
/// "durability": "E_DURABILITY",
/// "return_changes": [
/// "T_BOOL",
/// "always"
/// ]
///</summary>
public Delete this[object optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new Delete (this.Args, newOptArgs);
}
}
///<summary>
/// "durability": "E_DURABILITY",
/// "return_changes": [
/// "T_BOOL",
/// "always"
/// ]
///</summary>
public Delete this[OptArgs optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new Delete (this.Args, newOptArgs);
}
}
///<summary>
/// "durability": "E_DURABILITY",
/// "return_changes": [
/// "T_BOOL",
/// "always"
/// ]
///</summary>
public Delete OptArg(string key, object val){
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val);
return new Delete (this.Args, newOptArgs);
}
internal Delete optArg(string key, object val){
return this.OptArg(key, val);
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a9d46d2709182804d8d05fb997cf6c54
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,101 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class DeleteAt : ReqlExpr {
/// <summary>
/// <para>Remove one or more elements from an array at a given index. Returns the modified array. (Note: <code>deleteAt</code> operates on arrays, not documents; to delete documents, see the <a href="/api/javascript/delete">delete</a> command.)</para>
/// </summary>
/// <example><para>Example: Delete the second element of an array.</para>
/// <code>&gt; r(['a','b','c','d','e','f']).deleteAt(1).run(conn, callback)
/// // result passed to callback
/// ['a', 'c', 'd', 'e', 'f']
/// </code></example>
public DeleteAt (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Remove one or more elements from an array at a given index. Returns the modified array. (Note: <code>deleteAt</code> operates on arrays, not documents; to delete documents, see the <a href="/api/javascript/delete">delete</a> command.)</para>
/// </summary>
/// <example><para>Example: Delete the second element of an array.</para>
/// <code>&gt; r(['a','b','c','d','e','f']).deleteAt(1).run(conn, callback)
/// // result passed to callback
/// ['a', 'c', 'd', 'e', 'f']
/// </code></example>
public DeleteAt (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Remove one or more elements from an array at a given index. Returns the modified array. (Note: <code>deleteAt</code> operates on arrays, not documents; to delete documents, see the <a href="/api/javascript/delete">delete</a> command.)</para>
/// </summary>
/// <example><para>Example: Delete the second element of an array.</para>
/// <code>&gt; r(['a','b','c','d','e','f']).deleteAt(1).run(conn, callback)
/// // result passed to callback
/// ['a', 'c', 'd', 'e', 'f']
/// </code></example>
public DeleteAt (Arguments args, OptArgs optargs)
: base(TermType.DELETE_AT, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1861bcb9c570ffe4d838d6b49560bc76
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,77 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Desc : ReqlExpr {
public Desc (object arg) : this(new Arguments(arg), null) {
}
public Desc (Arguments args) : this(args, null) {
}
public Desc (Arguments args, OptArgs optargs)
: base(TermType.DESC, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1ccb9bb690a973f4f8c9ca4a23d742c7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,101 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Difference : ReqlExpr {
/// <summary>
/// <para>Remove the elements of one array from another array.</para>
/// </summary>
/// <example><para>Example: Retrieve Iron Man's equipment list without boots.</para>
/// <code>r.table('marvel').get('IronMan')('equipment')
/// .difference(['Boots'])
/// .run(conn, callback)
/// </code></example>
public Difference (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Remove the elements of one array from another array.</para>
/// </summary>
/// <example><para>Example: Retrieve Iron Man's equipment list without boots.</para>
/// <code>r.table('marvel').get('IronMan')('equipment')
/// .difference(['Boots'])
/// .run(conn, callback)
/// </code></example>
public Difference (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Remove the elements of one array from another array.</para>
/// </summary>
/// <example><para>Example: Retrieve Iron Man's equipment list without boots.</para>
/// <code>r.table('marvel').get('IronMan')('equipment')
/// .difference(['Boots'])
/// .run(conn, callback)
/// </code></example>
public Difference (Arguments args, OptArgs optargs)
: base(TermType.DIFFERENCE, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a899c15f81d8e5e44b3f9c1f7a3b6d8e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,147 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Distance : ReqlExpr {
/// <summary>
/// <para>Compute the distance between a point and another geometry object. At least one of the geometry objects specified must be a point.</para>
/// </summary>
/// <example><para>Example: Compute the distance between two points on the Earth in kilometers.</para>
/// <code>var point1 = r.point(-122.423246,37.779388);
/// var point2 = r.point(-117.220406,32.719464);
/// r.distance(point1, point2, {unit: 'km'}).run(conn, callback);
/// // result returned to callback
/// 734.1252496021841
/// </code></example>
public Distance (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Compute the distance between a point and another geometry object. At least one of the geometry objects specified must be a point.</para>
/// </summary>
/// <example><para>Example: Compute the distance between two points on the Earth in kilometers.</para>
/// <code>var point1 = r.point(-122.423246,37.779388);
/// var point2 = r.point(-117.220406,32.719464);
/// r.distance(point1, point2, {unit: 'km'}).run(conn, callback);
/// // result returned to callback
/// 734.1252496021841
/// </code></example>
public Distance (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Compute the distance between a point and another geometry object. At least one of the geometry objects specified must be a point.</para>
/// </summary>
/// <example><para>Example: Compute the distance between two points on the Earth in kilometers.</para>
/// <code>var point1 = r.point(-122.423246,37.779388);
/// var point2 = r.point(-117.220406,32.719464);
/// r.distance(point1, point2, {unit: 'km'}).run(conn, callback);
/// // result returned to callback
/// 734.1252496021841
/// </code></example>
public Distance (Arguments args, OptArgs optargs)
: base(TermType.DISTANCE, args, optargs) {
}
///<summary>
/// "geo_system": "E_GEO_SYSTEM",
/// "unit": "E_UNIT"
///</summary>
public Distance this[object optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new Distance (this.Args, newOptArgs);
}
}
///<summary>
/// "geo_system": "E_GEO_SYSTEM",
/// "unit": "E_UNIT"
///</summary>
public Distance this[OptArgs optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new Distance (this.Args, newOptArgs);
}
}
///<summary>
/// "geo_system": "E_GEO_SYSTEM",
/// "unit": "E_UNIT"
///</summary>
public Distance OptArg(string key, object val){
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val);
return new Distance (this.Args, newOptArgs);
}
internal Distance optArg(string key, object val){
return this.OptArg(key, val);
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 12e4eb67a807c3946b2ecb1d0a883a4f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,138 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Distinct : ReqlExpr {
/// <summary>
/// <para>Removes duplicates from elements in a sequence.</para>
/// </summary>
/// <example><para>Example: Which unique villains have been vanquished by Marvel heroes?</para>
/// <code>r.table('marvel').concatMap(function(hero) {
/// return hero('villainList')
/// }).distinct().run(conn, callback)
/// </code></example>
public Distinct (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Removes duplicates from elements in a sequence.</para>
/// </summary>
/// <example><para>Example: Which unique villains have been vanquished by Marvel heroes?</para>
/// <code>r.table('marvel').concatMap(function(hero) {
/// return hero('villainList')
/// }).distinct().run(conn, callback)
/// </code></example>
public Distinct (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Removes duplicates from elements in a sequence.</para>
/// </summary>
/// <example><para>Example: Which unique villains have been vanquished by Marvel heroes?</para>
/// <code>r.table('marvel').concatMap(function(hero) {
/// return hero('villainList')
/// }).distinct().run(conn, callback)
/// </code></example>
public Distinct (Arguments args, OptArgs optargs)
: base(TermType.DISTINCT, args, optargs) {
}
///<summary>
/// "index": "T_STR"
///</summary>
public Distinct this[object optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new Distinct (this.Args, newOptArgs);
}
}
///<summary>
/// "index": "T_STR"
///</summary>
public Distinct this[OptArgs optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new Distinct (this.Args, newOptArgs);
}
}
///<summary>
/// "index": "T_STR"
///</summary>
public Distinct OptArg(string key, object val){
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val);
return new Distinct (this.Args, newOptArgs);
}
internal Distinct optArg(string key, object val){
return this.OptArg(key, val);
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d6c1605261b5e23438f4a78e483ced8f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,95 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Div : ReqlExpr {
/// <summary>
/// <para>Divide two numbers.</para>
/// </summary>
/// <example><para>Example: It's as easy as 2 / 2 = 1.</para>
/// <code>r.expr(2).div(2).run(conn, callback)
/// </code></example>
public Div (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Divide two numbers.</para>
/// </summary>
/// <example><para>Example: It's as easy as 2 / 2 = 1.</para>
/// <code>r.expr(2).div(2).run(conn, callback)
/// </code></example>
public Div (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Divide two numbers.</para>
/// </summary>
/// <example><para>Example: It's as easy as 2 / 2 = 1.</para>
/// <code>r.expr(2).div(2).run(conn, callback)
/// </code></example>
public Div (Arguments args, OptArgs optargs)
: base(TermType.DIV, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 58f6e5174bbe9d84a93bf41d276c4fd2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,107 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Downcase : ReqlExpr {
/// <summary>
/// <para>Lowercases a string.</para>
/// </summary>
/// <example><para>Example:</para>
/// <code>r.expr("Sentence about LaTeX.").downcase().run(conn, callback)
/// </code>
/// <para>Result:</para>
/// <code>"sentence about latex."
/// </code>
/// <para>Note: <code>upcase</code> and <code>downcase</code> only affect ASCII characters.</para></example>
public Downcase (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Lowercases a string.</para>
/// </summary>
/// <example><para>Example:</para>
/// <code>r.expr("Sentence about LaTeX.").downcase().run(conn, callback)
/// </code>
/// <para>Result:</para>
/// <code>"sentence about latex."
/// </code>
/// <para>Note: <code>upcase</code> and <code>downcase</code> only affect ASCII characters.</para></example>
public Downcase (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Lowercases a string.</para>
/// </summary>
/// <example><para>Example:</para>
/// <code>r.expr("Sentence about LaTeX.").downcase().run(conn, callback)
/// </code>
/// <para>Result:</para>
/// <code>"sentence about latex."
/// </code>
/// <para>Note: <code>upcase</code> and <code>downcase</code> only affect ASCII characters.</para></example>
public Downcase (Arguments args, OptArgs optargs)
: base(TermType.DOWNCASE, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: da8e76a698c78154994520ad74747f51
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,144 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class During : ReqlExpr {
/// <summary>
/// <para>Return whether a time is between two other times.</para>
/// </summary>
/// <example><para>Example: Retrieve all the posts that were posted between December 1st, 2013
/// (inclusive) and December 10th, 2013 (exclusive).</para>
/// <code>r.table("posts").filter(
/// r.row('date').during(r.time(2013, 12, 1, "Z"), r.time(2013, 12, 10, "Z"))
/// ).run(conn, callback)
/// </code></example>
public During (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Return whether a time is between two other times.</para>
/// </summary>
/// <example><para>Example: Retrieve all the posts that were posted between December 1st, 2013
/// (inclusive) and December 10th, 2013 (exclusive).</para>
/// <code>r.table("posts").filter(
/// r.row('date').during(r.time(2013, 12, 1, "Z"), r.time(2013, 12, 10, "Z"))
/// ).run(conn, callback)
/// </code></example>
public During (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Return whether a time is between two other times.</para>
/// </summary>
/// <example><para>Example: Retrieve all the posts that were posted between December 1st, 2013
/// (inclusive) and December 10th, 2013 (exclusive).</para>
/// <code>r.table("posts").filter(
/// r.row('date').during(r.time(2013, 12, 1, "Z"), r.time(2013, 12, 10, "Z"))
/// ).run(conn, callback)
/// </code></example>
public During (Arguments args, OptArgs optargs)
: base(TermType.DURING, args, optargs) {
}
///<summary>
/// "left_bound": "E_BOUND",
/// "right_bound": "E_BOUND"
///</summary>
public During this[object optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new During (this.Args, newOptArgs);
}
}
///<summary>
/// "left_bound": "E_BOUND",
/// "right_bound": "E_BOUND"
///</summary>
public During this[OptArgs optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new During (this.Args, newOptArgs);
}
}
///<summary>
/// "left_bound": "E_BOUND",
/// "right_bound": "E_BOUND"
///</summary>
public During OptArg(string key, object val){
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val);
return new During (this.Args, newOptArgs);
}
internal During optArg(string key, object val){
return this.OptArg(key, val);
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 826e538fcb8cbf44f984edfe199a5af7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,98 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class EpochTime : ReqlExpr {
/// <summary>
/// <para>Create a time object based on seconds since epoch. The first argument is a double and
/// will be rounded to three decimal places (millisecond-precision).</para>
/// </summary>
/// <example><para>Example: Update the birthdate of the user "John" to November 3rd, 1986.</para>
/// <code>r.table("user").get("John").update({birthdate: r.epochTime(531360000)}).run(conn, callback)
/// </code></example>
public EpochTime (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Create a time object based on seconds since epoch. The first argument is a double and
/// will be rounded to three decimal places (millisecond-precision).</para>
/// </summary>
/// <example><para>Example: Update the birthdate of the user "John" to November 3rd, 1986.</para>
/// <code>r.table("user").get("John").update({birthdate: r.epochTime(531360000)}).run(conn, callback)
/// </code></example>
public EpochTime (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Create a time object based on seconds since epoch. The first argument is a double and
/// will be rounded to three decimal places (millisecond-precision).</para>
/// </summary>
/// <example><para>Example: Update the birthdate of the user "John" to November 3rd, 1986.</para>
/// <code>r.table("user").get("John").update({birthdate: r.epochTime(531360000)}).run(conn, callback)
/// </code></example>
public EpochTime (Arguments args, OptArgs optargs)
: base(TermType.EPOCH_TIME, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 58fda8c496cc5b845b9dfd2841f5f109
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,95 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Eq : ReqlExpr {
/// <summary>
/// <para>Test if two or more values are equal.</para>
/// </summary>
/// <example><para>Example: See if a user's <code>role</code> field is set to <code>administrator</code>.</para>
/// <code>r.table('users').get(1)('role').eq('administrator').run(conn, callback);
/// </code></example>
public Eq (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Test if two or more values are equal.</para>
/// </summary>
/// <example><para>Example: See if a user's <code>role</code> field is set to <code>administrator</code>.</para>
/// <code>r.table('users').get(1)('role').eq('administrator').run(conn, callback);
/// </code></example>
public Eq (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Test if two or more values are equal.</para>
/// </summary>
/// <example><para>Example: See if a user's <code>role</code> field is set to <code>administrator</code>.</para>
/// <code>r.table('users').get(1)('role').eq('administrator').run(conn, callback);
/// </code></example>
public Eq (Arguments args, OptArgs optargs)
: base(TermType.EQ, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 491f06199faa4724095582aa72806646
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,126 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class EqJoin : ReqlExpr {
/// <summary>
/// <para>Join tables using a field or function on the left-hand sequence matching primary keys or secondary indexes on the right-hand table. <code>eqJoin</code> is more efficient than other ReQL join types, and operates much faster. Documents in the result set consist of pairs of left-hand and right-hand documents, matched when the field on the left-hand side exists and is non-null and an entry with that field's value exists in the specified index on the right-hand side.</para>
/// </summary>
/// <example></example>
public EqJoin (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Join tables using a field or function on the left-hand sequence matching primary keys or secondary indexes on the right-hand table. <code>eqJoin</code> is more efficient than other ReQL join types, and operates much faster. Documents in the result set consist of pairs of left-hand and right-hand documents, matched when the field on the left-hand side exists and is non-null and an entry with that field's value exists in the specified index on the right-hand side.</para>
/// </summary>
/// <example></example>
public EqJoin (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Join tables using a field or function on the left-hand sequence matching primary keys or secondary indexes on the right-hand table. <code>eqJoin</code> is more efficient than other ReQL join types, and operates much faster. Documents in the result set consist of pairs of left-hand and right-hand documents, matched when the field on the left-hand side exists and is non-null and an entry with that field's value exists in the specified index on the right-hand side.</para>
/// </summary>
/// <example></example>
public EqJoin (Arguments args, OptArgs optargs)
: base(TermType.EQ_JOIN, args, optargs) {
}
///<summary>
/// "index": "T_STR"
///</summary>
public EqJoin this[object optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new EqJoin (this.Args, newOptArgs);
}
}
///<summary>
/// "index": "T_STR"
///</summary>
public EqJoin this[OptArgs optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new EqJoin (this.Args, newOptArgs);
}
}
///<summary>
/// "index": "T_STR"
///</summary>
public EqJoin OptArg(string key, object val){
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val);
return new EqJoin (this.Args, newOptArgs);
}
internal EqJoin optArg(string key, object val){
return this.OptArg(key, val);
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 364d3bf78964df44e810945c27434412
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,107 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Error : ReqlExpr {
/// <summary>
/// <para>Throw a runtime error. If called with no arguments inside the second argument to <code>default</code>, re-throw the current error.</para>
/// </summary>
/// <example><para>Example: Iron Man can't possibly have lost a battle:</para>
/// <code>r.table('marvel').get('IronMan').do(function(ironman) {
/// return r.branch(ironman('victories').lt(ironman('battles')),
/// r.error('impossible code path'),
/// ironman)
/// }).run(conn, callback)
/// </code></example>
public Error (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Throw a runtime error. If called with no arguments inside the second argument to <code>default</code>, re-throw the current error.</para>
/// </summary>
/// <example><para>Example: Iron Man can't possibly have lost a battle:</para>
/// <code>r.table('marvel').get('IronMan').do(function(ironman) {
/// return r.branch(ironman('victories').lt(ironman('battles')),
/// r.error('impossible code path'),
/// ironman)
/// }).run(conn, callback)
/// </code></example>
public Error (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Throw a runtime error. If called with no arguments inside the second argument to <code>default</code>, re-throw the current error.</para>
/// </summary>
/// <example><para>Example: Iron Man can't possibly have lost a battle:</para>
/// <code>r.table('marvel').get('IronMan').do(function(ironman) {
/// return r.branch(ironman('victories').lt(ironman('battles')),
/// r.error('impossible code path'),
/// ironman)
/// }).run(conn, callback)
/// </code></example>
public Error (Arguments args, OptArgs optargs)
: base(TermType.ERROR, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1421ad99581fcec46aed473959a87d8e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,77 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class February : ReqlExpr {
public February (object arg) : this(new Arguments(arg), null) {
}
public February (Arguments args) : this(args, null) {
}
public February (Arguments args, OptArgs optargs)
: base(TermType.FEBRUARY, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 5a818ce9fcf15d94bbcc0a9e24276dd6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,131 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Fill : ReqlExpr {
/// <summary>
/// <para>Convert a Line object into a Polygon object. If the last point does not specify the same coordinates as the first point, <code>polygon</code> will close the polygon by connecting them.</para>
/// </summary>
/// <example><para>Example: Create a line object and then convert it to a polygon.</para>
/// <code>r.table('geo').insert({
/// id: 201,
/// rectangle: r.line(
/// [-122.423246,37.779388],
/// [-122.423246,37.329898],
/// [-121.886420,37.329898],
/// [-121.886420,37.779388]
/// )
/// }).run(conn, callback);
///
/// r.table('geo').get(201).update({
/// rectangle: r.row('rectangle').fill()
/// }, {nonAtomic: true}).run(conn, callback);
/// </code></example>
public Fill (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Convert a Line object into a Polygon object. If the last point does not specify the same coordinates as the first point, <code>polygon</code> will close the polygon by connecting them.</para>
/// </summary>
/// <example><para>Example: Create a line object and then convert it to a polygon.</para>
/// <code>r.table('geo').insert({
/// id: 201,
/// rectangle: r.line(
/// [-122.423246,37.779388],
/// [-122.423246,37.329898],
/// [-121.886420,37.329898],
/// [-121.886420,37.779388]
/// )
/// }).run(conn, callback);
///
/// r.table('geo').get(201).update({
/// rectangle: r.row('rectangle').fill()
/// }, {nonAtomic: true}).run(conn, callback);
/// </code></example>
public Fill (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Convert a Line object into a Polygon object. If the last point does not specify the same coordinates as the first point, <code>polygon</code> will close the polygon by connecting them.</para>
/// </summary>
/// <example><para>Example: Create a line object and then convert it to a polygon.</para>
/// <code>r.table('geo').insert({
/// id: 201,
/// rectangle: r.line(
/// [-122.423246,37.779388],
/// [-122.423246,37.329898],
/// [-121.886420,37.329898],
/// [-121.886420,37.779388]
/// )
/// }).run(conn, callback);
///
/// r.table('geo').get(201).update({
/// rectangle: r.row('rectangle').fill()
/// }, {nonAtomic: true}).run(conn, callback);
/// </code></example>
public Fill (Arguments args, OptArgs optargs)
: base(TermType.FILL, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 2b23e0f10e72ee246b04537352c940e9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,135 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Filter : ReqlExpr {
/// <summary>
/// <para>Return all the elements in a sequence for which the given predicate is true. The return value of <code>filter</code> will be the same as the input (sequence, stream, or array). Documents can be filtered in a variety of ways&mdash;ranges, nested values, boolean conditions, and the results of anonymous functions.</para>
/// </summary>
/// <example><para>Example: Get all users who are 30 years old.</para>
/// <code>r.table('users').filter({age: 30}).run(conn, callback);
/// </code>
/// <para>The predicate <code>{age: 30}</code> selects documents in the <code>users</code> table with an <code>age</code> field whose value is <code>30</code>. Documents with an <code>age</code> field set to any other value <em>or</em> with no <code>age</code> field present are skipped.</para></example>
public Filter (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Return all the elements in a sequence for which the given predicate is true. The return value of <code>filter</code> will be the same as the input (sequence, stream, or array). Documents can be filtered in a variety of ways&mdash;ranges, nested values, boolean conditions, and the results of anonymous functions.</para>
/// </summary>
/// <example><para>Example: Get all users who are 30 years old.</para>
/// <code>r.table('users').filter({age: 30}).run(conn, callback);
/// </code>
/// <para>The predicate <code>{age: 30}</code> selects documents in the <code>users</code> table with an <code>age</code> field whose value is <code>30</code>. Documents with an <code>age</code> field set to any other value <em>or</em> with no <code>age</code> field present are skipped.</para></example>
public Filter (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Return all the elements in a sequence for which the given predicate is true. The return value of <code>filter</code> will be the same as the input (sequence, stream, or array). Documents can be filtered in a variety of ways&mdash;ranges, nested values, boolean conditions, and the results of anonymous functions.</para>
/// </summary>
/// <example><para>Example: Get all users who are 30 years old.</para>
/// <code>r.table('users').filter({age: 30}).run(conn, callback);
/// </code>
/// <para>The predicate <code>{age: 30}</code> selects documents in the <code>users</code> table with an <code>age</code> field whose value is <code>30</code>. Documents with an <code>age</code> field set to any other value <em>or</em> with no <code>age</code> field present are skipped.</para></example>
public Filter (Arguments args, OptArgs optargs)
: base(TermType.FILTER, args, optargs) {
}
///<summary>
/// "default": "T_EXPR"
///</summary>
public Filter this[object optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new Filter (this.Args, newOptArgs);
}
}
///<summary>
/// "default": "T_EXPR"
///</summary>
public Filter this[OptArgs optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new Filter (this.Args, newOptArgs);
}
}
///<summary>
/// "default": "T_EXPR"
///</summary>
public Filter OptArg(string key, object val){
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val);
return new Filter (this.Args, newOptArgs);
}
internal Filter optArg(string key, object val){
return this.OptArg(key, val);
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 12b733b2b0667cc43bfb03c63e7aa748
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,104 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Floor : ReqlExpr {
/// <summary>
/// <para>Rounds the given value down, returning the largest integer value less than or equal to the given value (the value's floor).</para>
/// </summary>
/// <example><para>Example: Return the floor of 12.345.</para>
/// <code>r.floor(12.345).run(conn, callback);
/// // Result passed to callback
/// 12.0
/// </code>
/// <para>The <code>floor</code> command can also be chained after an expression.</para></example>
public Floor (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Rounds the given value down, returning the largest integer value less than or equal to the given value (the value's floor).</para>
/// </summary>
/// <example><para>Example: Return the floor of 12.345.</para>
/// <code>r.floor(12.345).run(conn, callback);
/// // Result passed to callback
/// 12.0
/// </code>
/// <para>The <code>floor</code> command can also be chained after an expression.</para></example>
public Floor (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Rounds the given value down, returning the largest integer value less than or equal to the given value (the value's floor).</para>
/// </summary>
/// <example><para>Example: Return the floor of 12.345.</para>
/// <code>r.floor(12.345).run(conn, callback);
/// // Result passed to callback
/// 12.0
/// </code>
/// <para>The <code>floor</code> command can also be chained after an expression.</para></example>
public Floor (Arguments args, OptArgs optargs)
: base(TermType.FLOOR, args, optargs) {
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 117bf1bd2d752394fb3e00a36161ca7d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,144 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
using System.Collections;
using System.Collections.Generic;
namespace RethinkDb.Driver.Ast {
public partial class Fold : ReqlExpr {
/// <summary>
/// <para>Apply a function to a sequence in order, maintaining state via an accumulator. The <code>fold</code> command returns either a single value or a new sequence.</para>
/// </summary>
/// <example><para>Example: Concatenate words from a list.</para>
/// <code>r.table('words').orderBy('id').fold('', function (acc, word) {
/// return acc.add(r.branch(acc.eq(''), '', ', ')).add(word);
/// }).run(conn, callback);
/// </code>
/// <para>(This example could be implemented with <code>reduce</code>, but <code>fold</code> will preserve the order when <code>words</code> is a RethinkDB table or other stream, which is not guaranteed with <code>reduce</code>.)</para></example>
public Fold (object arg) : this(new Arguments(arg), null) {
}
/// <summary>
/// <para>Apply a function to a sequence in order, maintaining state via an accumulator. The <code>fold</code> command returns either a single value or a new sequence.</para>
/// </summary>
/// <example><para>Example: Concatenate words from a list.</para>
/// <code>r.table('words').orderBy('id').fold('', function (acc, word) {
/// return acc.add(r.branch(acc.eq(''), '', ', ')).add(word);
/// }).run(conn, callback);
/// </code>
/// <para>(This example could be implemented with <code>reduce</code>, but <code>fold</code> will preserve the order when <code>words</code> is a RethinkDB table or other stream, which is not guaranteed with <code>reduce</code>.)</para></example>
public Fold (Arguments args) : this(args, null) {
}
/// <summary>
/// <para>Apply a function to a sequence in order, maintaining state via an accumulator. The <code>fold</code> command returns either a single value or a new sequence.</para>
/// </summary>
/// <example><para>Example: Concatenate words from a list.</para>
/// <code>r.table('words').orderBy('id').fold('', function (acc, word) {
/// return acc.add(r.branch(acc.eq(''), '', ', ')).add(word);
/// }).run(conn, callback);
/// </code>
/// <para>(This example could be implemented with <code>reduce</code>, but <code>fold</code> will preserve the order when <code>words</code> is a RethinkDB table or other stream, which is not guaranteed with <code>reduce</code>.)</para></example>
public Fold (Arguments args, OptArgs optargs)
: base(TermType.FOLD, args, optargs) {
}
///<summary>
/// "emit": "T_FUNC3",
/// "final_emit": "T_FUNC1"
///</summary>
public Fold this[object optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new Fold (this.Args, newOptArgs);
}
}
///<summary>
/// "emit": "T_FUNC3",
/// "final_emit": "T_FUNC1"
///</summary>
public Fold this[OptArgs optArgs] {
get
{
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs);
return new Fold (this.Args, newOptArgs);
}
}
///<summary>
/// "emit": "T_FUNC3",
/// "final_emit": "T_FUNC1"
///</summary>
public Fold OptArg(string key, object val){
var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val);
return new Fold (this.Args, newOptArgs);
}
internal Fold optArg(string key, object val){
return this.OptArg(key, val);
}
/// <summary>
/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it.
/// </summary>
/// <param name="bracket"></param>
public new Bracket this[string bracket] => base[bracket];
/// <summary>
/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element.
/// </summary>
/// <param name="bracket"></param>
/// <returns></returns>
public new Bracket this[int bracket] => base[bracket];
}
}

Some files were not shown because too many files have changed in this diff Show more