Description

Link Query Functions

These functions query the rt_links table in the Right Track Database.

Details

Methods


<inner> getLinkCategories( db, callback )

Description

Get a list of all link category titles

Parameters
Name Type Description
db RightTrackDB

The Right Track DB to query

callback function

Callback function

Name Type Attributes Description
error Error

Database Query Error

categories Array.<string> <optional>

The selected Link categories

Details

Description

Get all of the Agency link information from the database

Parameters
Name Type Description
db RightTrackDB

The Right Track Database to query

callback function

Callback function

Name Type Attributes Description
error Error

Database Query Error

links Array.<Link> <optional>

The selected Links

Details

<inner> getLinksByCategory( db, category, callback )

Description

Get all of the Agency link information from the database with the specified link category title.

Parameters
Name Type Description
db RightTrackDB

The Right Track Database to query

category string

Link category title

callback function

Callback function

Name Type Attributes Description
error Error

Database Query Error

links Array.<Link> <optional>

The selected Links

Details