dsl-resolve 0.1.0

Name resolution: aliases, scopes, FROM/JOIN binding for duck-sqllsp.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! A single FROM / JOIN binding inside a statement.

use dsl_parse::TableRef;
use serde::Serialize;

#[derive(Debug, Clone, Serialize)]
pub struct Binding {
  /// The alias the user typed, or the unaliased table name if no alias.
  pub alias: String,
  /// The fully-qualified table being referred to.
  pub table: TableRef,
}