Skip to content

binding: implement typechecks logic #142

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

Closed
muzarski opened this issue Jul 16, 2024 · 0 comments · Fixed by #143
Closed

binding: implement typechecks logic #142

muzarski opened this issue Jul 16, 2024 · 0 comments · Fixed by #143
Assignees
Milestone

Comments

@muzarski
Copy link
Collaborator

Cpp-driver performs typechecks during binding. To be more precise, it performs typechecks when user executes:

  • cass_statement_bind_*
  • cass_collection_append_*
  • cass_user_type_set_*
  • cass_tuple_set_*

The driver also allows users to define untyped (cass_{tuple/collection}_new) and typed (cass_{tuple/collection}_new_from_data_type) versions of tuples and collections. In case of binding to untyped tuples/collections, no type checks are performed.

@muzarski muzarski self-assigned this Jul 16, 2024
@muzarski muzarski added this to the 0.2 milestone Jul 16, 2024
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