# Cheatsheets

## KillFilter

@author Marko Strukelj

Name | Type | Description
`addr` | `String` | Set ADDR filter
`id` | `String` | Set ID filter
`skipme` | `Boolean` | Set SKIPME filter
`type` | `Type` | Set TYPE filter

## LimitOptions

@author Marko Strukelj

Name | Type | Description

## SortOptions

@author Marko Strukelj

Name | Type | Description
`by` | `String` | -
`gets` | `Array of String` | -
`store` | `String` | -

## SetOptions

@author Marko Strukelj

Name | Type | Description
`ex` | `Number (long)` | -
`nx` | `Boolean` | -
`px` | `Number (long)` | -
`xx` | `Boolean` | -

## MigrateOptions

@author Marko Strukelj

Name | Type | Description

## ScanOptions

@author Marko Strukelj

Name | Type | Description
`count` | `Number (int)` | -
`match` | `String` | -

## RedisOptions

This object controls the connection setting to the Redis Server. There is no need to specify most of the settings since it has built the following sensible defaults: * `encoding`: `UTF-8` * `host`: `localhost` * `port`: 6379 * `tcpKeepAlive`: true * `tcpNoDelay`: true However there are two extra properties that have no defaults since they are optional: * `auth` * `select` The usage of this two extra properties is to setup required authentication and optionally the selection of the active database at connection time. If you define this extra properties on every connection to Redis server this client will perform the authentication handshake and database selection, however if you don't do this and call link yourself in case of connection failure the client will not be able to perform the correct authentication handshake.

Name | Type | Description
`address` | `String` | Set the eventbus address prefix for `PUB/SUB`.
`auth` | `String` | Set the password for authentication at connection time.
`encoding` | `String` | Set the user defined character encoding, e.g.: `iso-8859-1`.
`host` | `String` | Set the host name where the Redis server is listening.
`port` | `Number (int)` | Set the tcp port where the Redis server is listening.
`select` | `Number (int)` | Set the database to select at connection time.
`tcpKeepAlive` | `Boolean` | Set the TCP KeepAlive option
`tcpNoDelay` | `Boolean` | Set the TCP NoDelay at the socket level.

## RangeLimitOptions

@author Marko Strukelj

Name | Type | Description