MCPcopy Create free account

hub / github.com/christopherhesse/rethinkgo / functions

Functions256 in github.com/christopherhesse/rethinkgo

↓ 1 callersMethodString
()
ql2/ql2.pb.go:112
↓ 1 callersMethodString
()
ql2/ql2.pb.go:160
↓ 1 callersMethodString
()
ql2/ql2.pb.go:208
↓ 1 callersMethodString
()
ql2/ql2.pb.go:511
↓ 1 callersFunctionSum
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 callersMethodTableCreateWithSpec
(spec TableSpec)
query.go:1435
↓ 1 callersMethodTableDrop
(name string)
query.go:1466
↓ 1 callersMethodcompileExpressionFunc
(e Exp, requiredArgs int)
protobuf.go:380
↓ 1 callersMethodcompileGoFunc
(f interface{}, requiredArgs int)
protobuf.go:397
↓ 1 callersFunctioncontainsImplicitVariable
(term *p.Term)
protobuf.go:340
↓ 1 callersMethodcontinueQuery
continueQuery creates a query that will cause this query to continue
rows.go:50
↓ 1 callersFunctiondatumMarshal
(v interface{})
datum.go:9
↓ 1 callersFunctiondatumToJson
(datum *p.Datum)
datum.go:43
↓ 1 callersMethodexecuteQueryProtobuf
executeQueryProtobuf sends a single query to the server and retrieves the parsed response, a lower level function used by .executeQuery()
conn.go:120
↓ 1 callersMethodgetToken
getToken generates the next query token, used to number requests and match responses with requests.
session.go:112
↓ 1 callersMethodliteralToTerm
(literal interface{})
protobuf.go:458
↓ 1 callersMethodmapToAssocPairs
(m interface{})
protobuf.go:509
↓ 1 callersFunctionnullaryOperator
(kind expressionKind)
query.go:115
↓ 1 callersFunctionprefixLines
(s string, prefix string)
utils.go:22
↓ 1 callersMethodreadMessage
readMessage reads a single message from a connection. A message is a length followed by a serialized protocol buffer.
conn.go:93
↓ 1 callersMethodreadResponse
readResponse reads a protobuf message from a connection and parses it.
conn.go:108
↓ 1 callersFunctionserverConnect
(address string, authkey string)
conn.go:24
↓ 1 callersMethodtoFuncTerm
(f interface{}, requiredArgs int)
protobuf.go:360
↓ 1 callersFunctiontoObject
(m interface{})
protobuf.go:489
↓ 1 callersMethodtoProtobuf
(ctx context)
protobuf.go:520
↓ 1 callersMethodwriteMessage
writeMessage writes a byte array to the stream preceeded by the length in bytes.
conn.go:71
↓ 1 callersMethodwriteQuery
writeQuery writes a protobuf message to the connection.
conn.go:82
MethodChangeAt
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
MethodCheck
(params []interface{}, names []string)
basic_test.go:135
MethodCheck
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
FunctionConnectWithAuth
ConnectWithAuth is the same as Connect, but also sets the authorization key used to connect to the server.
session.go:46
MethodContains
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
FunctionDbList
DbList lists all databases on the server Example usage: var databases []string err := r.DbList().Run(session).All(&databases) Example response: ["
query.go:1381
MethodDefault
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
MethodDeleteAt
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
MethodDifference
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
FunctionDo
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
MethodDurability
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
MethodEnum
()
ql2/ql2.pb.go:32
MethodEnum
()
ql2/ql2.pb.go:71
MethodEnum
()
ql2/ql2.pb.go:107
MethodEnum
()
ql2/ql2.pb.go:155
MethodEnum
()
ql2/ql2.pb.go:203
MethodError
()
error.go:43
MethodError
()
error.go:68
MethodError
()
error.go:84
MethodExec
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
MethodExtensionMap
()
ql2/ql2.pb.go:718
MethodExtensionMap
()
ql2/ql2.pb.go:811
MethodExtensionRangeArray
()
ql2/ql2.pb.go:715
MethodExtensionRangeArray
()
ql2/ql2.pb.go:808
MethodGetAll
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
MethodGetArgs
()
ql2/ql2.pb.go:832
MethodGetDatum
()
ql2/ql2.pb.go:825
MethodGetGlobalOptargs
()
ql2/ql2.pb.go:577
MethodGetKey
()
ql2/ql2.pb.go:594
MethodGetKey
()
ql2/ql2.pb.go:777
MethodGetOBSOLETENoreply
()
ql2/ql2.pb.go:570
MethodGetOpt
()
ql2/ql2.pb.go:633
MethodGetOptargs
()
ql2/ql2.pb.go:839
MethodGetPos
()
ql2/ql2.pb.go:626
MethodGetQuery
()
ql2/ql2.pb.go:556
MethodGetToken
()
ql2/ql2.pb.go:675
MethodGetType
()
ql2/ql2.pb.go:549
MethodGetType
()
ql2/ql2.pb.go:619
MethodGetType
()
ql2/ql2.pb.go:668
MethodGetType
()
ql2/ql2.pb.go:725
MethodGetVal
()
ql2/ql2.pb.go:601
MethodGetVal
()
ql2/ql2.pb.go:784
MethodIndexCreate
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
MethodIndexDrop
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
MethodIndexList
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
MethodIndexesOf
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
MethodInfo
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
MethodInfo
()
basic_test.go:131
MethodInsertAt
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
MethodIsEmpty
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
FunctionJsWithTimeout
JsWithTimeout lets you specify the timeout for a javascript expression to run (in seconds). The default value is 5 seconds.
query.go:289
FunctionJson
Json creates an object using a literal json string. Example usage: var response interface{} rows := r.Json(`"go": "awesome", "rethinkdb": "awesomer"
query.go:237
MethodKeys
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
MethodMarshalJSON
()
ql2/ql2.pb.go:40
MethodMarshalJSON
()
ql2/ql2.pb.go:79
MethodMarshalJSON
()
ql2/ql2.pb.go:115
MethodMarshalJSON
()
ql2/ql2.pb.go:163
MethodMarshalJSON
()
ql2/ql2.pb.go:211
MethodMarshalJSON
()
ql2/ql2.pb.go:514
MethodMatch
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
MethodNe
Ne returns true if two values are not equal. Example usage: r.Expr(1).Ne(-1) => true
query.go:521
MethodOverwrite
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
MethodPrepend
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
MethodProtoMessage
()
ql2/ql2.pb.go:532
MethodProtoMessage
()
ql2/ql2.pb.go:545
MethodProtoMessage
()
ql2/ql2.pb.go:592
MethodProtoMessage
()
ql2/ql2.pb.go:617
MethodProtoMessage
()
ql2/ql2.pb.go:647
MethodProtoMessage
()
ql2/ql2.pb.go:666
MethodProtoMessage
()
ql2/ql2.pb.go:709
MethodProtoMessage
()
ql2/ql2.pb.go:775
MethodProtoMessage
()
ql2/ql2.pb.go:802
MethodProtoMessage
()
ql2/ql2.pb.go:854
← previousnext →101–200 of 256, ranked by callers