Unlike with SQL, it feels awkward to separate column names and values in JS.
I would like to suggest changing this method signature or adding a new one with signature
insert(tableName, rowObject, callback)
where rowObject is simply an object where keys represent column names and values are values for the according column, for example:
Right now .insert method has the following signature:
Unlike with SQL, it feels awkward to separate column names and values in JS. I would like to suggest changing this method signature or adding a new one with signature
where rowObject is simply an object where keys represent column names and values are values for the according column, for example: