dsl_resolve/binding.rs
1//! A single FROM / JOIN binding inside a statement.
2
3use dsl_parse::TableRef;
4use serde::Serialize;
5
6#[derive(Debug, Clone, Serialize)]
7pub struct Binding {
8 /// The alias the user typed, or the unaliased table name if no alias.
9 pub alias: String,
10 /// The fully-qualified table being referred to.
11 pub table: TableRef,
12}