Currently most APIs are like this tableName?: string, columnName?: string, shared: {/**/}.
This is good for ensuring that I have to pass tableName to be able to pass columnName, but it's ugly when I just want to pass transaction without table or column.
Create overload, 1 param as object, 1 without column, with everything optional, and one with column with table name required
Currently most APIs are like this
tableName?: string, columnName?: string, shared: {/**/}
. This is good for ensuring that I have to passtableName
to be able to passcolumnName
, but it's ugly when I just want to pass transaction without table or column.Create overload, 1 param as object, 1 without column, with everything optional, and one with column with table name required