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
Method
Reset
()
ql2/ql2.pb.go:530
Method
Reset
()
ql2/ql2.pb.go:543
Method
Reset
()
ql2/ql2.pb.go:590
Method
Reset
()
ql2/ql2.pb.go:615
Method
Reset
()
ql2/ql2.pb.go:645
Method
Reset
()
ql2/ql2.pb.go:664
Method
Reset
()
ql2/ql2.pb.go:707
Method
Reset
()
ql2/ql2.pb.go:773
Method
Reset
()
ql2/ql2.pb.go:800
Method
Reset
()
ql2/ql2.pb.go:852
Method
ReturnValues
ReturnValues tells the server, when performing a single row insert/update/delete/upsert, to return the new and old values on single row Example usage
query.go:2036
Method
Run
Run executes a query directly on a specific session and returns an iterator that moves through the resulting JSON rows with rows.Next() and rows.Scan(
session.go:132
Function
RuntimeError
RuntimeError tells the server to respond with a ErrRuntime, useful for testing. Example usage: err := r.RuntimeError("hi there").Run(session).Err()
query.go:299
Method
Sample
Sample selects a given number of elements from an array randomly with a uniform distribution. Example usage: var response []string err = r.Expr(r.Li
query.go:1993
Method
SetDifference
SetDifference removes the given values from an array and returns the unique values of the resulting array. Example usage: var response []string err
query.go:1949
Method
SetInsert
SetInsert adds a value to an array and returns the unique values of the resulting array. Example usage: var response []string err = r.Expr(r.List{"a
query.go:1921
Method
SetIntersection
SetIntersection returns all the unique values that appear in both arrays. Example usage: var response []string err = r.Expr(r.List{"a", "b", "b"}).S
query.go:1963
Method
SetTimeout
SetTimeout causes any future queries that are run on this session to timeout after the given duration, returning a timeout error. Set to zero to disa
session.go:93
Method
SetUnion
SetUnion adds multiple values to an array and returns the unique values of the resulting array. Example usage: var response []string err = r.Expr(r.
query.go:1935
Method
SetUpSuite
(c *test.C)
basic_test.go:49
Method
SpliceAt
SpliceAt inserts multiple values into an array at the given index Example usage: var response []string r.Expr(r.List{"a", "b"}).SpliceAt(1, r.List{"
query.go:1810
Method
String
()
ql2/ql2.pb.go:531
Method
String
()
ql2/ql2.pb.go:544
Method
String
()
ql2/ql2.pb.go:591
Method
String
()
ql2/ql2.pb.go:616
Method
String
()
ql2/ql2.pb.go:646
Method
String
()
ql2/ql2.pb.go:665
Method
String
()
ql2/ql2.pb.go:708
Method
String
()
ql2/ql2.pb.go:774
Method
String
()
ql2/ql2.pb.go:853
Method
Table
(name string)
query.go:1498
Function
TableCreate
TableCreate creates a table with the specified name. Example usage: err := r.TableCreate("heroes").Run(session).Exec()
query.go:1415
Function
TableCreateWithSpec
TableCreateWithSpec creates a table with the specified attributes. Example usage: spec := TableSpec{Name: "heroes", PrimaryKey: "name"} err := r.Tab
query.go:1431
Function
TableDrop
TableDrop removes a table from the database. Example usage: err := r.Db("marvel").TableDrop("heroes").Run(session).Exec()
query.go:1462
Function
TableList
TableList lists all tables in the database. Example usage: var tables []string err := r.TableList().Run(session).All(&tables) Example response: ["
query.go:1449
Method
TableList
()
query.go:1453
Method
TearDownSuite
(c *test.C)
basic_test.go:58
Function
Test
Hook up gocheck into the gotest runner.
basic_test.go:45
Method
TestDropTable
(c *test.C)
basic_test.go:686
Method
TestGet
(c *test.C)
basic_test.go:669
Method
TestGroups
(c *test.C)
basic_test.go:659
Method
TestOrderBy
(c *test.C)
basic_test.go:676
Method
UnmarshalJSON
(data []byte)
ql2/ql2.pb.go:43
Method
UnmarshalJSON
(data []byte)
ql2/ql2.pb.go:82
Method
UnmarshalJSON
(data []byte)
ql2/ql2.pb.go:118
Method
UnmarshalJSON
(data []byte)
ql2/ql2.pb.go:166
Method
UnmarshalJSON
(data []byte)
ql2/ql2.pb.go:214
Method
UnmarshalJSON
(data []byte)
ql2/ql2.pb.go:517
Method
Use
Use changes the default database for a connection. This is the database that will be used when a query is created without an explicit database. This
session.go:106
Method
UseOutdated
UseOutdated tells the server to use potentially out-of-date data from all tables already specified in this query. The advantage is that read queries m
query.go:417
Method
WithFields
WithFields filters an array to only include objects with all specified fields, then removes all extra fields from each object. Example usage: object
query.go:1768
Function
getBacktraceFrames
(response *p.Response)
error.go:21
Function
init
()
ql2/ql2.pb.go:870
Function
protoInt64OrNil
(i int64)
utils.go:15
Function
protoStringOrNil
(s string)
utils.go:8
Function
toArray
toArray and toObject seem overly complicated, like maybe some sort of assignment assertion would be enough
protobuf.go:478
← previous
201–256 of 256, ranked by callers