Orpheus icon indicating copy to clipboard operation
Orpheus copied to clipboard

A Small Object Model for Redis in CoffeeScript

Results 15 Orpheus issues
Sort by recently updated
recently updated
newest added

`.when(callback)` used for conditional operations, it could be beneficial to have support in async operations

Support in Typescript could be useful, therefore Orpheus must have type definition.

Migrate the docs from CoffeeScript to Javascript

Currently using `0.12.1` of `redis` package, which is a very old and obsolete version. Furthermore: it poses a challenge as it cause bugs and instability with node version `4.0` and...

``` coffee User.command('zrem', 'key', arguments...) User.zrem('key', arguments...) ```

https://github.com/luin/ioredis

Since Redis `.multi()` allows it, so should we. ``` coffee User('id').name.set('new-name', update_index).exec (err, res) -> ```

Great for iterating over dynamic keys. Assuming: ``` @zset 'books', key: (author) -> "books:#{author}" ``` Allow developers to query a `books_keys` for all the dynamic keys that were generated. Or,...

enhancement

- Ability to set commands on the model's main hash e.g. `expire`, `ttl`, etc. - The main hash stores the `@str` and `@num` attributes of the model. - We'll need...

``` User(user_id).get('name').default('anonymous').exec() ```