Skip to main content

table_full

Function table_full 

Source
pub fn table_full(
    name: &str,
    schema: Option<&str>,
    catalog: Option<&str>,
) -> TableRef
Expand description

Create a fully qualified table reference with catalog.

§Arguments

  • name - Table name
  • schema - Optional schema qualifier
  • catalog - Optional catalog qualifier

§Examples

use sqlglot_rust::builder::table_full;

let tbl = table_full("users", Some("public"), Some("mydb"));