rabbittc / relation-exist

Check relation exist

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Relation exist 0.0.1

Check relation exist for meteor collection

Install

meteor add theara:relation-exist

Usage

var relation = relationExist(
    [
        {collection: TestCollection, selector: {_id: "001"}},
        {collection: TestCollection2, selector: {_id: "002"}}
    ]
);// return boolean

if(relation){
    // ...
}

Changelog

  • v 0.0.1 (2014-04-21)
    • init

About

Check relation exist


Languages

Language:JavaScript 100.0%