Object Overview

All data in Salsa is stored in a Salsa 'object'. A object is an almost direct mapping to a database table, with similar data types and defaults. All objects in Salsa are available via the API, and via SalsaScript. In general, when dealing with objects you'll use the object name, and the 'key', which is the unique identifier for an instance of an object.

To retrieve the schema of any object in Salsa, use either the API call 'decribe.sjs':

/api/describe.sjs?object=supporter

or the SalsaScript call DB.describe(object):

<?
  var supporterSchema=DB.describe('supporter');
?>

Commonly used objects are referenced in the menu on the left.