Skip to content

Add a cache layer for generated SQL #6

Description

@GrandChaman

We don't need to always regenerate SQL queries when the requests options are the same and only the parameters have changed.

  • Save the parameters as functions that can extract the real parameters from the Ciboulette2PgBuilderState
  • Add a LRU cache layer to store the generated SQL
  • Add a method to re-extract the parameter for given requests options

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions