Create Mongo Expression

<< Click to Display Table of Contents >>

Current:  Create Data Set > Mongo Data Set > Data Governance 

Create Mongo Expression

Previous pageReturn to chapter overviewNext page

Mongo is a nosql database, and Mongo syntax expressions are added to this database. Select New Expression from the More menu in the metadata area. The Mongo expression is selected by default, and the JS expression is unchecked.

mongoexpression

For example:

New expression "year",  input statement: {$ substr: [col ['datetime'], 0, 4]}

mongoexpression1

 

The data after preview is as follows:

mongoexpression2