pub struct UpdateExtensionsStatement {
pub extensions: ThinVec<Ident>,
pub meta: Meta,
}Expand description
A DuckDB UPDATE EXTENSIONS [( <name>, ... )] extension-refresh statement
(DuckDB-specific; gated by
UtilitySyntax::update_extensions).
Refreshes installed extensions from their repository; the optional parenthesized
list restricts the refresh to the named extensions, and its absence updates every
installed extension. Non-generic, like ReindexStatement: the operands are bare
extension names — DuckDB’s opt_column_list (ColId list), a quoted or unquoted
identifier, never a string, dotted name, or general expression (all engine-probed
rejects on 1.5.4). extensions is empty for the bare UPDATE EXTENSIONS; when the
list is written it carries at least one name (UPDATE EXTENSIONS () is a DuckDB
parser error), so an empty vector round-trips as the bare form unambiguously.
Fields§
§extensions: ThinVec<Ident>The extensions to refresh; empty for the bare UPDATE EXTENSIONS (all
installed). When non-empty, the written parenthesized ( <name>, ... ) list.
meta: MetaSource location and node identity.
Trait Implementations§
Source§impl Clone for UpdateExtensionsStatement
impl Clone for UpdateExtensionsStatement
Source§fn clone(&self) -> UpdateExtensionsStatement
fn clone(&self) -> UpdateExtensionsStatement
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UpdateExtensionsStatement
impl Debug for UpdateExtensionsStatement
Source§impl<'de> Deserialize<'de> for UpdateExtensionsStatement
impl<'de> Deserialize<'de> for UpdateExtensionsStatement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for UpdateExtensionsStatement
Source§impl Hash for UpdateExtensionsStatement
impl Hash for UpdateExtensionsStatement
Source§impl Render for UpdateExtensionsStatement
impl Render for UpdateExtensionsStatement
Source§fn render(&self, ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
fn render(&self, ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
Source§fn operand_binding_power(&self) -> Option<BindingPower>
fn operand_binding_power(&self) -> Option<BindingPower>
None (the default) for a self-delimiting node — an atom, call, or
constructor — that never needs parentheses. Read moreSource§impl Spanned for UpdateExtensionsStatement
impl Spanned for UpdateExtensionsStatement
impl StructuralPartialEq for UpdateExtensionsStatement
Auto Trait Implementations§
impl Freeze for UpdateExtensionsStatement
impl RefUnwindSafe for UpdateExtensionsStatement
impl Send for UpdateExtensionsStatement
impl Sync for UpdateExtensionsStatement
impl Unpin for UpdateExtensionsStatement
impl UnsafeUnpin for UpdateExtensionsStatement
impl UnwindSafe for UpdateExtensionsStatement
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> DynAstExt for T
impl<T> DynAstExt for T
Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&dyn Any for downcasting a node back to its concrete type.Source§fn dyn_clone(&self) -> Box<dyn DynAstExt>
fn dyn_clone(&self) -> Box<dyn DynAstExt>
Clone (whose
Self-returning signature cannot go through a vtable).Source§fn dyn_eq(&self, other: &dyn DynAstExt) -> bool
fn dyn_eq(&self, other: &dyn DynAstExt) -> bool
PartialEq (whose &Self argument cannot go through a vtable). Equal
iff other holds the same concrete type and that type deems the values
equal; differently-typed nodes are never equal.