# Code coverage report for Node-DBI\lib\dbExpr.js

## Statements: 60% (3 / 5) Branches: 100% (0 / 0) Functions: 0% (0 / 2) Lines: 60% (3 / 5) Ignored: none

All files » Node-DBI\lib\ » dbExpr.js

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29

    1

    1

    1

    //------------------------------------- constructor

    /**
     * @param {String}
     */
    function DBExpr( sqlExpr )
    {
      /**
       * @type String
       */
      this.sqlExpr = sqlExpr;
    }

    module.exports.DBExpr = DBExpr;

    //------------------------------------- public methods

    /**
     * @returns {String}
     */
    DBExpr.prototype.getStr = function()
    {
      return this.sqlExpr;
    };