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

Prepared statements #266

Closed
Hammad1029 opened this issue Apr 11, 2024 · 1 comment
Closed

Prepared statements #266

Hammad1029 opened this issue Apr 11, 2024 · 1 comment
Assignees

Comments

@Hammad1029
Copy link

Hammad1029 commented Apr 11, 2024

Does this package support preparing statements like drivers in other languages for scylla? for e.g java: https://java-driver.docs.scylladb.com/scylla-3.7.2.x/manual/statements/prepared

EDIT: I am talking about in both cases: queries generated by the ORM and string queries executed using session.ExecStmt

@sylwiaszunejko
Copy link
Collaborator

GocqlX uses gocql underneath and gocql automatically prepares DML queries (SELECT/INSERT/UPDATE/DELETE/BATCH statements) and maintains a cache of prepared statements (documentation: https://pkg.go.dev/github.com/gocql/gocql#hdr-Prepared_statements).

@sylwiaszunejko sylwiaszunejko self-assigned this May 9, 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

No branches or pull requests

2 participants