For AI agents: the complete documentation index is available at /en/llms.txt, the full documentation bundle is available at /en/llms-full.txt, and this page is available as Markdown at /en/reference/sdk/sapi/db/functions/clearDbModuleContext.md.
  • English
  • Function: clearDbModuleContext()

    function clearDbModuleContext(moduleId?: string): void;

    Defined in: sapi/db/client.ts:367

    清理模块数据库身份上下文。

    Parameters

    ParameterTypeDescription
    moduleId?string若指定则仅删除该模块;省略则清空全部。

    Returns

    void