tag functions I

by Gerald Gillespie

TypeScript

type result = {
   id: number;
   tranid: string;

}


const TagColumnNames<T> = (tagArray: string[], ...columnNames: (keyof T)[]): string => {
    return tagArray.flatMap((tag, index) => (index === 0 ? [tag] : [tag, columnNames.shift()])).join('');
};


const Nquery : {

   runSuiteQL: (options: { query: `select `}

}