lib/dataset/sql.js
function (source) {
            if (!Array.isArray(source)) {
                source = [source];
            }
            if (!source || !source.length) {
                throw new QueryError("No source specified for the query");
            }
            return " " + source.map(
                    function (s) {
                        return this.__tableRef(s);
                    }, this).join(this._static.COMMA_SEPARATOR);
        }
function (source) {
            if (!Array.isArray(source)) {
                source = [source];
            }
            if (!source || !source.length) {
                throw new QueryError("No source specified for the query");
            }
            return " " + source.map(
                    function (s) {
                        return this.__tableRef(s);
                    }, this).join(this._static.COMMA_SEPARATOR);
        }
function ( source ) { if ( ! Array . isArray ( source ) ) { source = [ source ] ; } if ( ! source || ! source . length ) { throw new QueryError ( "No source specified for the query" ) ; } return " " + source . map ( function ( s ) { return this . __tableRef ( s ) ; } , this ) . join ( this . _static . COMMA_SEPARATOR ) ; }
Converts an array of source names into into a comma separated list.
Converts an array of source names into into a comma separated list .