pub type OwnedTableReference = TableReference<'static>;
Expand description

This is a TableReference that has ’static lifetime (aka it owns the underlying string)

To convert a TableReference to an OwnedTableReference, use

let table_reference = TableReference::from("mytable");
let owned_reference = table_reference.to_owned_reference();

Trait Implementations§

source§

impl From<String> for OwnedTableReference

Parse a String into a OwnedTableReference as a multipart SQL identifier.

source§

fn from(s: String) -> Self

Converts to this type from the input type.