Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Overview

The JSMA namespaces provides access to the namespaces (JSMA namespace) in the instance.

What can JSMA namespaces do for me?

You can use the JSMA namespaces to access namespaces in the database

Index

Usage

reading data

Here is an example on how to read data from a JSMA namespaces:

... 
namespaces.find(term, [limit])
...

Methods

The JSMA namespaces provides the following methods:

namespace[] namespaces.find(term, [limit])

Returns the JSMA namespace(s) that match the given term

Example

... 
namespaces.find(term, [limit])
...

Parameter term (required)

Parameter limit (optional)

namespace namespaces.findById(id)

Returns the JSMA namespace with the given id

Example

... 
namespaces.findById(id)
...

Parameter id (required)

namespace namespaces.findByName(name)

Returns the JSMA namespace with the given name

Example

... 
namespaces.findByName(name)
...

Parameter name (required)


  • No labels