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

Implement Sql Traits into ColumnData #314

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LazyDope
Copy link

Allows using ColumnData as parameters for queries, if you wanted to generically store various types of valid SQL data in one place and bind it directly instead of first converting out of ColumnData, which would of course just convert back to ColumnData as soon as it's put into the query bind. Instead you can just store ColumnData, and provide it to the bind method directly, without any converting back and forth since IntoSql just takes ownership of the ColumnData.

This also resolves my earlier issue of getting generic data from a row by name, however both of these solutions have their own merits by themselves.

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 this pull request may close these issues.

1 participant