Skip to content
This repository was archived by the owner on Sep 8, 2023. It is now read-only.
This repository was archived by the owner on Sep 8, 2023. It is now read-only.

Only prepare statements once #12

@luuhq

Description

@luuhq

"This is a small optimization: you are preparing a SQL statement on each request, but it would be better if you prepare all your statements when you make your connection, then just use the prepared statement. Each Prepare call is a roundtrip to the database. See the source for details: http://code.google.com/p/go-mysql-driver/source/browse/mysql/connection.go"

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions