MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / nest

Function nest

src/sql-pretty/src/util.rs:23–25  ·  view source on GitHub ↗
(title: RcDoc<'a>, v: RcDoc<'a>)

Source from the content-addressed store, hash-verified

21}
22
23pub(crate) fn nest<'a>(title: RcDoc<'a>, v: RcDoc<'a>) -> RcDoc<'a> {
24 intersperse_line_nest([title, v])
25}
26
27pub(crate) fn nest_title<S>(title: S, v: RcDoc) -> RcDoc
28where

Callers 15

doc_create_sourceMethod · 0.85
doc_create_tableMethod · 0.85
doc_create_connectionMethod · 0.85
doc_create_subsourceMethod · 0.85
doc_create_indexMethod · 0.85
doc_copyMethod · 0.85
doc_insertMethod · 0.85
doc_order_by_exprMethod · 0.85
doc_queryMethod · 0.85
doc_set_exprMethod · 0.85

Calls 1

intersperse_line_nestFunction · 0.85

Tested by

no test coverage detected