| description | Sync and async executors that run translated SQL against Redis. |
|---|
The executor runs a translated SQL query against Redis and parses the response
into a [QueryResult][sql_redis.QueryResult]. There are sync and async variants
and factory functions that wire up a schema registry for you.
| Symbol | Description |
|---|---|
Executor |
Sync executor. |
AsyncExecutor |
Async executor. |
create_executor |
Factory for the sync executor with a configurable cache strategy. |
create_async_executor |
Factory for the async executor. |
QueryResult |
Result rows and total count. |
SchemaCacheStrategy |
"lazy" or "load_all" literal. |
::: sql_redis.Executor
::: sql_redis.AsyncExecutor
::: sql_redis.create_executor
::: sql_redis.create_async_executor
::: sql_redis.QueryResult
::: sql_redis.SchemaCacheStrategy
::: sql_redis.version
The installed package version, as a string. Useful for log lines, bug reports, and version-gated feature checks.