@@ -394,15 +394,15 @@ WOQLClient.prototype.insertTriples = function(gtype, gid, turtle, commit_msg) {
394
394
}
395
395
396
396
/**
397
- * Inserts a csv into the specified path
397
+ * Inserts a csv from a specified path
398
398
*
399
- * @param {array } csv_path is an array of csv file names
399
+ * @param {array } csv_path is an array of csv file names with file path
400
400
* @param {string } commitMsg Textual message describing the reason for the update
401
401
* @param {string } gtype type of graph |instance|schema|inference|
402
402
* @param {string } gid TerminusDB Graph ID to update, main is the default value
403
403
* @return {Promise } An API success message
404
404
*/
405
- WOQLClient . prototype . insertCSV = function ( csv_path , commitMsg , gtype , gid ) {
405
+ WOQLClient . prototype . insertCSV = function ( csv_path , commit_msg , gtype , gid ) {
406
406
if ( commitMsg && csv_path ) {
407
407
let commit = this . generateCommitInfo ( commitMsg )
408
408
const formData = new FormData ( ) ;
@@ -435,7 +435,7 @@ WOQLClient.prototype.insertCSV = function(csv_path, commitMsg, gtype, gid) {
435
435
* @param {string } gid TerminusDB Graph ID to update, main is the default value
436
436
* @return {Promise } An API success message
437
437
*/
438
- WOQLClient . prototype . updateCSV = function ( csv , commitMsg , gtype , gid ) {
438
+ WOQLClient . prototype . updateCSV = function ( csv , commit_msg , gtype , gid ) {
439
439
if ( commitMsg && csv ) {
440
440
let commit = this . generateCommitInfo ( commitMsg )
441
441
const formData = new FormData ( ) ;
@@ -487,7 +487,7 @@ WOQLClient.prototype.getCSV = function(csvName, download, gtype, gid) {
487
487
* @param {string } gid TerminusDB Graph ID to update, main is the default value
488
488
* @return {Promise } An API success message
489
489
*/
490
- WOQLClient . prototype . deleteCSV = function ( csvName , commitMsg , gtype , gid ) {
490
+ WOQLClient . prototype . deleteCSV = function ( csvName , commit_msg , gtype , gid ) {
491
491
if ( commitMsg && csvName ) {
492
492
let commit = this . generateCommitInfo ( commitMsg )
493
493
let options = { } , filePath
0 commit comments