MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / CSVToArray

Function CSVToArray

web/pgadmin/static/js/utils.js:287–297  ·  view source on GitHub ↗
(strData, strDelimiter, quoteChar)

Source from the content-addressed store, hash-verified

285
286// This will parse a delimited string into an array of arrays.
287export function CSVToArray(strData, strDelimiter, quoteChar){
288
289 // Use papaparse to parse the CSV data
290 const parsedResult = Papa.parse(strData, {
291 delimiter: strDelimiter,
292 quoteChar: quoteChar,
293 });
294
295 // Return the parsed data.
296 return parsedResult.data;
297}
298
299export function hasBinariesConfiguration(pgBrowser, serverInformation) {
300 const module = 'paths';

Callers 2

getCopiedRowsMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected