Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antvis/AVA
/ functions
Functions
963 in github.com/antvis/AVA
⨍
Functions
963
◇
Types & classes
122
↓ 1 callers
Method
dispose
()
src/duckdb/engine.ts:288
↓ 1 callers
Function
disposeDataset
()
src/cli/session/datasets.ts:13
↓ 1 callers
Method
disposeEngine
* Release the current engine, including replacement and failed-load cleanup.
src/ava.ts:129
↓ 1 callers
Function
download
(url, path)
evals/BIRD/fetch.js:20
↓ 1 callers
Function
download
(path, target)
evals/databench/fetch.js:26
↓ 1 callers
Function
emitEvent
(type: AnalysisEventType, data: object, eventId: string)
src/analysis/loop.ts:179
↓ 1 callers
Function
endOf
(pairId: string)
src/event/index.ts:15
↓ 1 callers
Function
equal
(actual, expected)
evals/ava-agent/scripts/skill-discovery.py:108
↓ 1 callers
Function
errorDetails
(error: unknown, credentials: TencentSmartsheetCredentials)
src/duckdb/loaders/tencent-smartsheet/client.ts:31
↓ 1 callers
Method
execute
( code: string, options?: ExecutionOptions, caller?: AbortSignal )
src/interpreter/python/engine.ts:95
↓ 1 callers
Function
executeInBrowser
(data: any[], code: string)
src/interpreter/javascript/sandbox.ts:12
↓ 1 callers
Function
executeInNode
(data: any[], code: string)
src/interpreter/javascript/sandbox.ts:69
↓ 1 callers
Function
expectRemoved
(name: string)
__tests__/interpreter/python/sandbox.test.ts:7
↓ 1 callers
Function
expectStepContexts
(events: AnalysisEvent[])
__tests__/strategy.test.ts:44
↓ 1 callers
Function
expectUnloaded
()
__tests__/interpreter/python/engine.test.ts:64
↓ 1 callers
Function
exposed
(table: unknown)
src/remote/snowflake/schema.ts:62
↓ 1 callers
Function
exposedSQL
(schema?: string)
src/remote/sqlserver/schema.ts:8
↓ 1 callers
Function
exposedSQL
Restrict all branches to readable relations in the requested schema.
src/remote/supabase/schema.ts:11
↓ 1 callers
Function
exposedSQL
Restrict all branches to readable relations in the requested schema.
src/duckdb/loaders/postgresql.ts:16
↓ 1 callers
Function
extractData
(text: string, llmConfig: LLMConfig)
src/duckdb/loaders/text.ts:13
↓ 1 callers
Function
extractStatement
(definition: string, names?: string[])
__tests__/remote/sqlserver/schema.test.ts:27
↓ 1 callers
Function
fail
(error: unknown)
src/cli/session/server.ts:64
↓ 1 callers
Function
fakeConnection
(respond: (options: ExecuteOptions) => Response | undefined)
__tests__/remote/snowflake/test-utils.ts:44
↓ 1 callers
Function
feishuApi
(options: FeishuBitableSourceOptions)
src/duckdb/loaders/feishu/token.ts:71
↓ 1 callers
Function
feishuAuthType
(options: FeishuBitableSourceOptions)
src/duckdb/loaders/feishu/token.ts:48
↓ 1 callers
Function
feishuOrigin
(url?: string)
src/duckdb/loaders/feishu/token.ts:14
↓ 1 callers
Function
fetchFile
Caller-supplied headers may contain credentials with arbitrary names.
src/duckdb/util/file.ts:34
↓ 1 callers
Function
field
(fieldTitle: string, fieldType: number)
__tests__/duckdb/loaders/tencent-smartsheet.test.ts:21
↓ 1 callers
Function
finalStatus
* Final status of statements whose text contains `marker`, once Snowflake no longer reports them * running. The marker is a literal because AVA dro
__tests__/remote/snowflake/integration.test.ts:204
↓ 1 callers
Function
finalize
(summary)
evals/_shared/index.js:92
↓ 1 callers
Function
fingerprint
(directory, prefix = '')
evals/spider2lite/fetch.js:100
↓ 1 callers
Function
finish
()
src/cli/session/transport.ts:66
↓ 1 callers
Function
finish
()
site/ai/ui/demo/useSimulatedStream.ts:53
↓ 1 callers
Function
finishShutdown
(cleanup: Promise<void>, deadline: ReturnType<typeof setTimeout>, exitCode: number)
src/cli/session/server.ts:26
↓ 1 callers
Function
firstString
(record: Record<string, unknown>, keys: string[])
src/duckdb/loaders/feishu/convert.ts:145
↓ 1 callers
Function
fk
(name: string, pkSchema: string, pkTable: string)
__tests__/remote/snowflake/engine.test.ts:104
↓ 1 callers
Function
foreignKeysSQL
Pair composite FK columns by position; both tables must be exposed.
src/remote/supabase/schema.ts:72
↓ 1 callers
Function
foreignKeysSQL
Preserve composite FK pairs within the source database.
src/duckdb/loaders/mysql.ts:59
↓ 1 callers
Function
foreignKeysSQL
Pair composite keys by position; SQLite exposes FK IDs rather than names.
src/duckdb/loaders/sqlite.ts:61
↓ 1 callers
Function
foreignKeysSQL
Pair composite FK columns by position; both tables must be exposed.
src/duckdb/loaders/postgresql.ts:77
↓ 1 callers
Function
formatAnswer
(value)
evals/databench/index.js:131
↓ 1 callers
Function
formatExcelDate
(value: Date)
site/ai/core/files.ts:11
↓ 1 callers
Function
formatResultValue
(value: unknown)
site/ai/ui/utils.ts:94
↓ 1 callers
Function
formulaValues
Formula and lookup cells wrap the result as { type, value }; convert it as the wrapped type.
src/duckdb/loaders/feishu/convert.ts:320
↓ 1 callers
Function
generateSuggestions
( llmConfig: LLMConfig, dataModel: DataModel, count: number = 3, signal?: AbortSignal )
src/suggest/index.ts:15
↓ 1 callers
Function
generateVisualizationConfig
( chartType: ChartType, data: unknown, query: string, llmConfig: LLMConfig, signal?: AbortSignal )
src/visualization/generator.ts:59
↓ 1 callers
Function
get
(id)
skills/ava/scripts/report.mjs:208
↓ 1 callers
Function
getClickHouseSchema
( runQuery: (sql: string) => Promise<Record<string, unknown>[]>, database: string )
src/remote/clickhouse/schema.ts:18
↓ 1 callers
Function
getCompletedToolsSinceLastSource
(messages: readonly ModelMessage[])
site/ai/core/utils.ts:4
↓ 1 callers
Method
getConnection
* Get or create the DuckDB connection (lazy loading)
src/duckdb/engine.ts:84
↓ 1 callers
Function
getDemoMessages
(locale: Locale)
site/ai/ui/demo/mockData.ts:134
↓ 1 callers
Function
getLatestPost
(entries: readonly BlogPost[] = posts)
site/lib/blog.ts:58
↓ 1 callers
Function
getLocale
(pathname: string)
site/lib/i18n.ts:17
↓ 1 callers
Method
getPrecision
()
__tests__/remote/snowflake/test-utils.ts:13
↓ 1 callers
Function
getRequestedTool
( messages: readonly ModelMessage[], toolNames: readonly T[] )
site/ai/core/utils.ts:38
↓ 1 callers
Method
getScale
()
__tests__/remote/snowflake/test-utils.ts:12
↓ 1 callers
Function
getSnowflakeSchema
(runQuery: RunQuery, { database, schema }: SnowflakeScope)
src/remote/snowflake/schema.ts:45
↓ 1 callers
Function
getSupabaseSchema
( runQuery: (sql: string) => Promise<Record<string, unknown>[]> )
src/remote/supabase/schema.ts:94
↓ 1 callers
Function
githubSince
(value: string)
src/duckdb/loaders/github/config.ts:51
↓ 1 callers
Function
goldFiles
(id, root = ROOT)
evals/spider2lite/index.js:83
↓ 1 callers
Function
hasAmount
Official answers are rounded to cents.
__tests__/cases/snowflake-tpch-analysis.test.ts:25
↓ 1 callers
Function
hasData
* Check if analysis result has meaningful data for visualization. * Accepts arrays (non-empty), objects (non-empty), and non-null/non-undefined primi
src/ava.ts:45
↓ 1 callers
Function
hasFailedTool
(messages: readonly ModelMessage[], toolNames: readonly string[])
site/ai/core/utils.ts:24
↓ 1 callers
Function
hasText
(row: Row, expected: string)
__tests__/cases/snowflake-tpch-analysis.test.ts:29
↓ 1 callers
Function
highlightCode
(code: string, language: 'javascript' | 'sql' | 'json')
site/ai/ui/utils.ts:121
↓ 1 callers
Function
hold
(event)
__tests__/fixtures/cli-session-dispose.cjs:6
↓ 1 callers
Function
indexByName
(values: T[], label: string)
src/util/data-model.ts:34
↓ 1 callers
Function
indexColumns
Extract plain index keys; expression indexes are not model identifiers.
src/util/schema.ts:49
↓ 1 callers
Function
indexesSQL
Read only complete, unconditional unique keys directly from the catalog.
src/remote/supabase/schema.ts:48
↓ 1 callers
Function
indexesSQL
Preserve index column order and primary/unique flags.
src/duckdb/loaders/mysql.ts:42
↓ 1 callers
Function
indexesSQL
Read ordinary and constraint-backed indexes in key order.
src/duckdb/loaders/sqlite.ts:34
↓ 1 callers
Function
indexesSQL
Read only complete, unconditional unique keys directly from the catalog.
src/duckdb/loaders/postgresql.ts:53
↓ 1 callers
Function
inferType
(values: any[])
src/util/schema.ts:8
↓ 1 callers
Function
inspectResources
* @param {ReturnType<typeof selectSamples>} samples * @param {string} root * @param {{ databases?: boolean, maxContextBytes?: number }} options
evals/spider2lite/index.js:99
↓ 1 callers
Function
install
(respond: (options: ExecuteOptions) => Response | undefined = () => undefined)
__tests__/remote/snowflake/engine.test.ts:32
↓ 1 callers
Function
interrupt
()
evals/ava-agent/scripts/run.mjs:138
↓ 1 callers
Function
invalidCell
()
src/duckdb/loaders/tencent-smartsheet/convert.ts:61
↓ 1 callers
Function
invalidRepository
(input: string)
src/duckdb/loaders/github/config.ts:12
↓ 1 callers
Function
isExtendedCSVEncoding
* Determine whether a CSV encoding requires the 'encodings' extension. * Built-in encodings: 'utf-8', 'utf-16', 'latin-1'. * Extended encodings incl
src/duckdb/util/file.ts:85
↓ 1 callers
Function
isGitHubRepositoryUrl
(input: string)
src/duckdb/loaders/github/config.ts:42
↓ 1 callers
Function
isLarkUrl
(url?: string)
src/duckdb/loaders/feishu/token.ts:8
↓ 1 callers
Function
isReadOnlyQuery
(root: unknown)
src/query/duckdb-sql.ts:11
↓ 1 callers
Function
isRecord
(value: unknown)
src/duckdb/loaders/feishu/wiki.ts:11
↓ 1 callers
Function
isRecord
(value: unknown)
src/duckdb/loaders/feishu/api.ts:25
↓ 1 callers
Function
isTable
(value: unknown)
site/ai/ui/utils.ts:57
↓ 1 callers
Function
item
(number: number, fields: Record<string, unknown> = {})
__tests__/duckdb/loaders/github.test.ts:37
↓ 1 callers
Function
key
(primary: boolean)
src/remote/snowflake/schema.ts:63
↓ 1 callers
Function
key
(names: string[])
src/util/schema.ts:156
↓ 1 callers
Function
labels
(value: unknown, keys: string[])
src/duckdb/loaders/feishu/convert.ts:153
↓ 1 callers
Function
length
(column: string)
src/remote/sqlserver/profile.ts:50
↓ 1 callers
Function
line
(values: unknown[])
src/util/markdown.ts:12
↓ 1 callers
Function
linkRelationships
Declared joins for single-record links, named like the models of the (namespaced) schema.
src/duckdb/loaders/feishu-bitable.ts:161
↓ 1 callers
Function
list
(state = 'all')
__tests__/duckdb/loaders/github.test.ts:61
↓ 1 callers
Function
listValues
(value)
evals/databench/index.js:51
↓ 1 callers
Function
load
@returns {Array<{ id: string, dataset: string, suite: string, question: string, answerType: string, goldAnswer: string, dataPath: string }>}
evals/databench/index.js:18
↓ 1 callers
Function
load
()
__tests__/remote-file-redirects.test.ts:263
↓ 1 callers
Function
load
(overrides: Partial<ReturnType<typeof sqlserverOptions>> = {})
__tests__/remote/sqlserver/integration.test.ts:15
↓ 1 callers
Function
load
()
__tests__/remote/clickhouse/integration.test.ts:14
↓ 1 callers
Function
load
(overrides: Partial<SnowflakeSourceOptions> = {})
__tests__/remote/snowflake/integration.test.ts:21
↓ 1 callers
Function
load
(options: Partial<GitHubSourceOptions> = {})
__tests__/duckdb/loaders/github.test.ts:221
← previous
next →
401–500 of 963, ranked by callers