QueryLocation (common/query_location.hpp)

duckdb · src/include/duckdb/common/query_location.hpp · cpp · MIT
database, tag:knn-classified

Represents a contiguous region of source query text, used for error reporting and diagnostics.

// Source: https://github.com/duckdb/duckdb | License: MIT | Copyright 2018-2026 Stichting DuckDB Foundation
// Provided via justclaw.it.com; keep this notice with the code.
//===----------------------------------------------------------------------===//
//                         DuckDB
//
// duckdb/common/query_location.hpp
//
//
//===----------------------------------------------------------------------===//

#pragma once

#include "duckdb/common/optional_idx.hpp"

namespace duckdb {

//! A QueryLocation references a contiguous region [offset, offset + length) of the source query text.
//! An invalid QueryLocation (offset == INVALID_OFFSET) marks "no known location" - e.g. for expressions
//! that are synthesized during binding/optimization and have no corresponding source text.
struct 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key