Skip to content
This repository was archived by the owner on Jan 23, 2018. It is now read-only.
This repository was archived by the owner on Jan 23, 2018. It is now read-only.

Create/Add Campaigns Key #1

@deezone

Description

@deezone

When campaign data is cached create/add an index key with a list of all campaigns cached.

  • When campaign is added through POST /campaign create / add to the index key of all the campaign cached values: [nid]-[language]-[expiry timestamp].

    Storing Sets: Sets are similar to lists, but the difference is that they don’t allow duplicates.

    The first item of the array represents the name of the key while the rest represent the
    elements of the list.

client.sadd(['tags', 'angularjs', 'backbonejs', 'emberjs'], function(err, reply) {
    console.log(reply); // 3
});

Reference:

Related:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions