Skip to main content

Module facade

Module facade 

Source

Re-exports§

pub use crate::sql_route::route_provider_sql;

Functions§

cache_query
cache_query_async
cache_query_fields
cache_query_fields_async
cache_query_fields_async_with
cache_query_fields_async_with_scope
cache_query_fields_route
本地缓存路由派发:providerSome(name) 时走命名 provider,None 时走默认 provider。
cache_query_fields_route_async
异步本地缓存路由派发:providerSome(name) 时走命名 provider,None 时走默认 provider。
cache_query_fields_with_scope
current_generation
external_exists
Execute a [fun.] named query where returns = “bool”.
external_value
Execute a [fun.] named query where returns = “value”.
init_mem_provider
init_mysql_provider
init_mysql_provider_named
以命名 provider 安装 MySQL 连接(不替换默认 provider)。
init_mysql_provider_with_config
init_postgres_provider
init_postgres_provider_named
以命名 provider 安装 PostgreSQL 连接(不替换默认 provider)。
init_postgres_provider_with_config
init_thread_cloned_from_authority
init_thread_cloned_from_knowdb
init_wal_pool_from_authority
install_runtime_telemetry
provider_exists
指定名称的 provider 是否已安装。
provider_names
当前已安装的命名 provider 名称列表。
query
query_async
query_async_for
对指定命名 provider 异步执行查询(全部行)。
query_fields
query_fields_async
query_fields_for
对指定命名 provider 执行首行查询。
query_fields_for_async
对指定命名 provider 异步执行首行查询。
query_for
对指定命名 provider 执行查询(全部行)。
query_named
query_named_fields
query_named_fields_async
query_row
query_row_async
redis_bf_add
Add items to a Bloom filter.
redis_bf_create
Create a new Bloom filter.
redis_bf_exists
Check whether an item exists in a Bloom filter.
redis_get
Get the value of a key.
redis_hget
Get the value of a hash field.
redis_set_exists
Check whether a member exists in a set.
runtime_snapshot