Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
rethinkdb
Table
Interface Table
Hierarchy
Sequence
Table
Index
Methods
between
concatMap
contains
count
delete
distinct
eqJoin
filter
get
getAll
groupBy
groupedMapReduce
indexCreate
indexDrop
indexList
indexesOf
innerJoin
insert
isEmpty
limit
map
nth
orderBy
outerJoin
pluck
reduce
replace
run
sample
skip
slice
union
update
withFields
without
zip
Methods
public
between
(
lower
:
any
, upper
:
any
, index
?:
Index
)
:
Sequence
Parameters
lower:
any
upper:
any
index?:
Index
optional
Returns
Sequence
public
concatMap
(
transform
:
ExpressionFunction
)
:
Sequence
Parameters
transform:
ExpressionFunction
Returns
Sequence
public
contains
(
prop
:
string
)
:
Expression
Parameters
prop:
string
Returns
Expression
public
count
(
)
:
Expression
Returns
Expression
public
delete
(
options
?:
UpdateOptions
)
:
Operation
Parameters
options?:
UpdateOptions
optional
Returns
Operation
public
distinct
(
)
:
Sequence
Returns
Sequence
public
eqJoin
(
leftAttribute
:
string
, rightSequence
:
Sequence
, index
?:
Index
)
:
Sequence
Parameters
leftAttribute:
string
rightSequence:
Sequence
index?:
Index
optional
Returns
Sequence
public
eqJoin
(
leftAttribute
:
ExpressionFunction
, rightSequence
:
Sequence
, index
?:
Index
)
:
Sequence
Parameters
leftAttribute:
ExpressionFunction
rightSequence:
Sequence
index?:
Index
optional
Returns
Sequence
public
filter
(
rql
:
ExpressionFunction
)
:
Sequence
Parameters
rql:
ExpressionFunction
Returns
Sequence
public
filter
(
rql
:
Expression
)
:
Sequence
Parameters
rql:
Expression
Returns
Sequence
public
filter
(
obj
:
{ [key: string]: any; }
)
:
Sequence
Parameters
obj:
{ [key: string]: any; }
Returns
Sequence
public
get
(
key
:
string
)
:
Sequence
Parameters
key:
string
Returns
Sequence
public
getAll
(
key
:
string
, index
?:
Index
)
:
Sequence
Parameters
key:
string
index?:
Index
optional
Returns
Sequence
public
getAll
(
keys
?:
Array<string>
)
:
Sequence
Parameters
keys?:
Array<string>
optional
Returns
Sequence
public
groupBy
(
aggregators
?:
Aggregator
[]
)
:
Expression
Parameters
aggregators?:
Aggregator
[]
optional
Returns
Expression
public
groupedMapReduce
(
group
:
ExpressionFunction
, map
:
ExpressionFunction
, reduce
:
ReduceFunction
, base
?:
any
)
:
Sequence
Parameters
group:
ExpressionFunction
map:
ExpressionFunction
reduce:
ReduceFunction
base?:
any
optional
Returns
Sequence
public
indexCreate
(
name
:
string
, index
?:
ExpressionFunction
)
:
Operation
Parameters
name:
string
index?:
ExpressionFunction
optional
Returns
Operation
public
indexDrop
(
name
:
string
)
:
Operation
Parameters
name:
string
Returns
Operation
public
indexList
(
)
:
Operation
Returns
Operation
public
indexesOf
(
obj
:
any
)
:
Sequence
Parameters
obj:
any
Returns
Sequence
public
innerJoin
(
sequence
:
Sequence
, join
:
JoinFunction
)
:
Sequence
Parameters
sequence:
Sequence
join:
JoinFunction
Returns
Sequence
public
insert
(
obj
:
Array<any>
, options
?:
InsertOptions
)
:
Operation
Parameters
obj:
Array<any>
options?:
InsertOptions
optional
Returns
Operation
public
insert
(
obj
:
any
, options
?:
InsertOptions
)
:
Operation
Parameters
obj:
any
options?:
InsertOptions
optional
Returns
Operation
public
isEmpty
(
)
:
Expression
Returns
Expression
public
limit
(
n
:
number
)
:
Sequence
Parameters
n:
number
Returns
Sequence
public
map
(
transform
:
ExpressionFunction
)
:
Sequence
Parameters
transform:
ExpressionFunction
Returns
Sequence
public
nth
(
n
:
number
)
:
Expression
Parameters
n:
number
Returns
Expression
public
orderBy
(
keys
?:
Array<string>
)
:
Sequence
Parameters
keys?:
Array<string>
optional
Returns
Sequence
public
orderBy
(
sorts
?:
Sort
[]
)
:
Sequence
Parameters
sorts?:
Sort
[]
optional
Returns
Sequence
public
outerJoin
(
sequence
:
Sequence
, join
:
JoinFunction
)
:
Sequence
Parameters
sequence:
Sequence
join:
JoinFunction
Returns
Sequence
public
pluck
(
props
?:
Array<string>
)
:
Sequence
Parameters
props?:
Array<string>
optional
Returns
Sequence
public
reduce
(
r
:
ReduceFunction
, base
?:
any
)
:
Expression
Parameters
r:
ReduceFunction
base?:
any
optional
Returns
Expression
public
replace
(
obj
:
Object
, options
?:
UpdateOptions
)
:
Operation
Parameters
obj:
Object
options?:
UpdateOptions
optional
Returns
Operation
public
replace
(
expr
:
ExpressionFunction
)
:
Operation
Parameters
expr:
ExpressionFunction
Returns
Operation
public
run
(
conn
:
Connection
, cb
:
(err: Error, result: T) => void
)
:
any
Parameters
conn:
Connection
cb:
(err: Error, result: T) => void
Returns
any
public
sample
(
n
:
number
)
:
Sequence
Parameters
n:
number
Returns
Sequence
public
skip
(
n
:
number
)
:
Sequence
Parameters
n:
number
Returns
Sequence
public
slice
(
start
:
number
, end
?:
number
)
:
Sequence
Parameters
start:
number
end?:
number
optional
Returns
Sequence
public
union
(
sequence
:
Sequence
)
:
Sequence
Parameters
sequence:
Sequence
Returns
Sequence
public
update
(
obj
:
Object
, options
?:
UpdateOptions
)
:
Operation
Parameters
obj:
Object
options?:
UpdateOptions
optional
Returns
Operation
public
withFields
(
selectors
?:
Array<any>
)
:
Sequence
Parameters
selectors?:
Array<any>
optional
Returns
Sequence
public
without
(
props
?:
Array<string>
)
:
Sequence
Parameters
props?:
Array<string>
optional
Returns
Sequence
public
zip
(
)
:
Sequence
Returns
Sequence
Globals
rethinkdb
count
Aggregator
Connection
ConnectionOptions
CreateResult
Db
DropResult
Expression
ExpressionFunction
GetTableOptions
Index
InsertOptions
JoinFunction
JoinResult
Operation
ReduceFunction
Sequence
Sort
Table
between
concatMap
contains
count
delete
distinct
eqJoin
filter
get
getAll
groupBy
groupedMapReduce
indexCreate
indexDrop
indexList
indexesOf
innerJoin
insert
isEmpty
limit
map
nth
orderBy
outerJoin
pluck
reduce
replace
run
sample
skip
slice
union
update
withFields
without
zip
TableOptions
Time
UpdateOptions
WriteResult
Writeable
Cursor
asc
avg
branch
connect
db
dbCreate
dbDrop
dbList
desc
expr
now
row
sum
table