Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/christopherhesse/rethinkgo
/ functions
Functions
256 in github.com/christopherhesse/rethinkgo
⨍
Functions
256
◇
Types & classes
35
↓ 1 callers
Method
String
()
ql2/ql2.pb.go:112
↓ 1 callers
Method
String
()
ql2/ql2.pb.go:160
↓ 1 callers
Method
String
()
ql2/ql2.pb.go:208
↓ 1 callers
Method
String
()
ql2/ql2.pb.go:511
↓ 1 callers
Function
Sum
Sum computes the sum of an attribute for a group, for use with the .GroupBy() method. Example usage: var response []interface{} Get the total intell
query.go:1322
↓ 1 callers
Method
TableCreateWithSpec
(spec TableSpec)
query.go:1435
↓ 1 callers
Method
TableDrop
(name string)
query.go:1466
↓ 1 callers
Method
compileExpressionFunc
(e Exp, requiredArgs int)
protobuf.go:380
↓ 1 callers
Method
compileGoFunc
(f interface{}, requiredArgs int)
protobuf.go:397
↓ 1 callers
Function
containsImplicitVariable
(term *p.Term)
protobuf.go:340
↓ 1 callers
Method
continueQuery
continueQuery creates a query that will cause this query to continue
rows.go:50
↓ 1 callers
Function
datumMarshal
(v interface{})
datum.go:9
↓ 1 callers
Function
datumToJson
(datum *p.Datum)
datum.go:43
↓ 1 callers
Method
executeQueryProtobuf
executeQueryProtobuf sends a single query to the server and retrieves the parsed response, a lower level function used by .executeQuery()
conn.go:120
↓ 1 callers
Method
getToken
getToken generates the next query token, used to number requests and match responses with requests.
session.go:112
↓ 1 callers
Method
literalToTerm
(literal interface{})
protobuf.go:458
↓ 1 callers
Method
mapToAssocPairs
(m interface{})
protobuf.go:509
↓ 1 callers
Function
nullaryOperator
(kind expressionKind)
query.go:115
↓ 1 callers
Function
prefixLines
(s string, prefix string)
utils.go:22
↓ 1 callers
Method
readMessage
readMessage reads a single message from a connection. A message is a length followed by a serialized protocol buffer.
conn.go:93
↓ 1 callers
Method
readResponse
readResponse reads a protobuf message from a connection and parses it.
conn.go:108
↓ 1 callers
Function
serverConnect
(address string, authkey string)
conn.go:24
↓ 1 callers
Method
toFuncTerm
(f interface{}, requiredArgs int)
protobuf.go:360
↓ 1 callers
Function
toObject
(m interface{})
protobuf.go:489
↓ 1 callers
Method
toProtobuf
(ctx context)
protobuf.go:520
↓ 1 callers
Method
writeMessage
writeMessage writes a byte array to the stream preceeded by the length in bytes.
conn.go:71
↓ 1 callers
Method
writeQuery
writeQuery writes a protobuf message to the connection.
conn.go:82
Method
ChangeAt
ChangeAt replaces an element of an array at a given index. Example usage: var response []string r.Expr(r.List{"a", "b", "c"}).ChangeAt(1, "x").Run(s
query.go:1843
Method
Check
(params []interface{}, names []string)
basic_test.go:135
Method
Check
Check compiles a query for sending to the server, but does not send it. There is one .Check() method for each query type.
protobuf.go:545
Function
ConnectWithAuth
ConnectWithAuth is the same as Connect, but also sets the authorization key used to connect to the server.
session.go:46
Method
Contains
Contains returns true if all the specified values appear in the array, false otherwise. Example usage: var response bool err = r.Expr(r.List{"a", "b
query.go:1978
Function
DbList
DbList lists all databases on the server Example usage: var databases []string err := r.DbList().Run(session).All(&databases) Example response: ["
query.go:1381
Method
Default
Default specifies the default value for an expression if the expression evaluates to null or if it raises an error (for instance, a non-existent prope
query.go:2024
Method
DeleteAt
DeleteAt removes an element from an array from the given start index to the end index. If end index is set to nil DeleteAt will only delete the elemen
query.go:1826
Method
Difference
Difference removes values from an array. Example usage: var response []string r.Expr(r.List{"a", "b", "b", "c"}).Difference(r.List{"a", "b", "d"}).R
query.go:1857
Function
Do
Do evalutes the last argument (a function) using all previous arguments as the arguments to the function. For instance, Do(a, b, c, f) will be run as
query.go:1701
Method
Durability
Durability sets the durability for the expression, this can be set to either "soft" or "hard". Example usage: var response r.WriteResponse r.Table("
query.go:430
Method
Enum
()
ql2/ql2.pb.go:32
Method
Enum
()
ql2/ql2.pb.go:71
Method
Enum
()
ql2/ql2.pb.go:107
Method
Enum
()
ql2/ql2.pb.go:155
Method
Enum
()
ql2/ql2.pb.go:203
Method
Error
()
error.go:43
Method
Error
()
error.go:68
Method
Error
()
error.go:84
Method
Exec
Exec is for queries for which you wish to ignore the result. For instance, creating a table. Example usage: err := r.TableCreate("villains").Run(se
rows.go:228
Method
ExtensionMap
()
ql2/ql2.pb.go:718
Method
ExtensionMap
()
ql2/ql2.pb.go:811
Method
ExtensionRangeArray
()
ql2/ql2.pb.go:715
Method
ExtensionRangeArray
()
ql2/ql2.pb.go:808
Method
GetAll
GetAll retrieves all documents where the given value matches the requested index. Example usage (awesomeness is a secondary index defined as speed *
query.go:359
Method
GetArgs
()
ql2/ql2.pb.go:832
Method
GetDatum
()
ql2/ql2.pb.go:825
Method
GetGlobalOptargs
()
ql2/ql2.pb.go:577
Method
GetKey
()
ql2/ql2.pb.go:594
Method
GetKey
()
ql2/ql2.pb.go:777
Method
GetOBSOLETENoreply
()
ql2/ql2.pb.go:570
Method
GetOpt
()
ql2/ql2.pb.go:633
Method
GetOptargs
()
ql2/ql2.pb.go:839
Method
GetPos
()
ql2/ql2.pb.go:626
Method
GetQuery
()
ql2/ql2.pb.go:556
Method
GetToken
()
ql2/ql2.pb.go:675
Method
GetType
()
ql2/ql2.pb.go:549
Method
GetType
()
ql2/ql2.pb.go:619
Method
GetType
()
ql2/ql2.pb.go:668
Method
GetType
()
ql2/ql2.pb.go:725
Method
GetVal
()
ql2/ql2.pb.go:601
Method
GetVal
()
ql2/ql2.pb.go:784
Method
IndexCreate
IndexCreate creates a secondary index on the specified table with the given name. If the function for the index is nil, the index is created for an a
query.go:1530
Method
IndexDrop
IndexDrop deletes a secondary index from a table. Example usage: var response map[string]int err := r.Table("heroes").IndexDrop("name").Run(session)
query.go:1563
Method
IndexList
IndexList lists all secondary indexes on a specified table. Example usage: var response []string err := r.Table("heroes").IndexList().Run(session).O
query.go:1547
Method
IndexesOf
IndexesOf gets the indexes where either a specific value appears, or else all indexes where the given function returns true. Example usage: var resp
query.go:1878
Method
Info
Info returns information about the expression. Often used on tables. Example usage: var response string err := r.Table("heroes").Info().Run(session
query.go:1732
Method
Info
()
basic_test.go:131
Method
InsertAt
InsertAt inserts a single value into an array at the given index. Example usage: var response []string r.Expr(r.List{"a", "b"}).InsertAt(1, "c").Run
query.go:1796
Method
IsEmpty
IsEmpty returns true if the sequence is empty. Example usage: var response bool r.Expr(r.List{}).IsEmpty().Run(session).One(&response) Example resp
query.go:1907
Function
JsWithTimeout
JsWithTimeout lets you specify the timeout for a javascript expression to run (in seconds). The default value is 5 seconds.
query.go:289
Function
Json
Json creates an object using a literal json string. Example usage: var response interface{} rows := r.Json(`"go": "awesome", "rethinkdb": "awesomer"
query.go:237
Method
Keys
Keys returns an array of all the keys on an object. Example usage: var response []string expr := r.Expr(r.Map{"name": "rethinkdb", "type": "database
query.go:1893
Method
MarshalJSON
()
ql2/ql2.pb.go:40
Method
MarshalJSON
()
ql2/ql2.pb.go:79
Method
MarshalJSON
()
ql2/ql2.pb.go:115
Method
MarshalJSON
()
ql2/ql2.pb.go:163
Method
MarshalJSON
()
ql2/ql2.pb.go:211
Method
MarshalJSON
()
ql2/ql2.pb.go:514
Method
Match
Match matches a regular expression against a string. The regular expression syntax is RE2, which is the same used by the "regexp" package. Example u
query.go:2008
Method
Ne
Ne returns true if two values are not equal. Example usage: r.Expr(1).Ne(-1) => true
query.go:521
Method
Overwrite
Overwrite tells an Insert query to overwrite existing rows instead of returning an error. Example usage: var response r.WriteResponse row := r.Map{"
query.go:1588
Method
Prepend
Prepend inserts a value at the beginning of an array. Example usage: var response []string r.Expr(r.List{"a", "b"}).Prepend("z").Run(session).One(&r
query.go:1782
Method
ProtoMessage
()
ql2/ql2.pb.go:532
Method
ProtoMessage
()
ql2/ql2.pb.go:545
Method
ProtoMessage
()
ql2/ql2.pb.go:592
Method
ProtoMessage
()
ql2/ql2.pb.go:617
Method
ProtoMessage
()
ql2/ql2.pb.go:647
Method
ProtoMessage
()
ql2/ql2.pb.go:666
Method
ProtoMessage
()
ql2/ql2.pb.go:709
Method
ProtoMessage
()
ql2/ql2.pb.go:775
Method
ProtoMessage
()
ql2/ql2.pb.go:802
Method
ProtoMessage
()
ql2/ql2.pb.go:854
← previous
next →
101–200 of 256, ranked by callers