Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getColumn getColumnType and getColumnName should behave like lodash get and default to a value #68

Closed
ebb-tide opened this issue May 29, 2019 · 0 comments · Fixed by #77

Comments

@ebb-tide
Copy link
Contributor

currently getColumn(colName) for a column that doesn't exist throws an error which requires user to handle errors or check if colName is in table.
It would be more helpful to program against if getColumn(columnName, default) would return default instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant