public function donovan( QuoteInterface $quoting, $prefix, $columns )
    {
        $sql = array();
        foreach( $columns as $column => $type ) {
            $sql[] = sprintf(
                'donovan(%s%s)',
                $prefix,
                $quoting->quoteIdent( $column )
            );
        }
        return sprintf(
            "'['||%s||']'",
            implode("||','||", $sql)
        );
    }
public function donovan( QuoteInterface $quoting, $prefix, $columns )
    {
        $sql = array();
        foreach( $columns as $column => $type ) {
            $sql[] = sprintf(
                'donovan(%s%s)',
                $prefix,
                $quoting->quoteIdent( $column )
            );
        }
        return sprintf(
            "'['||%s||']'",
            implode("||','||", $sql)
        );
    }
public function donovan ( QuoteInterface $ quoting , $ prefix , $ columns ) { $ sql = array ( ) ; foreach ( $ columns as $ column => $ type ) { $ sql [ ] = sprintf ( 'donovan(%s%s)' , $ prefix , $ quoting -> quoteIdent ( $ column ) ) ; } return sprintf ( "'['||%s||']'" , implode ( "||','||" , $ sql ) ) ; }
Produce a sql statement which resolves to a string but is a valid json
@return string Sql which evaluates to JSON
Produce a sql statement which resolves to a string but is a valid json