MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / Format

Method Format

pkg/sql/sem/tree/format.go:313–313  ·  view source on GitHub ↗

Format performs pretty-printing towards a bytes buffer. The flags member of ctx influences the results. Most callers should use FormatNode instead.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

311 // Format performs pretty-printing towards a bytes buffer. The flags member
312 // of ctx influences the results. Most callers should use FormatNode instead.
313 Format(ctx *FmtCtx)
314}
315
316// FormatName formats a string as a name.

Callers 15

FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
pgwireFormatMethod · 0.65

Implementers 15

Errorpkg/sql/pgwire/pgerror/errors.pb.go
withCandidateCodepkg/sql/pgwire/pgerror/with_candidate_
HelpMessagepkg/sql/parser/help.go
CreateChangefeedpkg/sql/sem/tree/changefeed.go
TransactionModespkg/sql/sem/tree/txn.go
BeginTransactionpkg/sql/sem/tree/txn.go
CommitTransactionpkg/sql/sem/tree/txn.go
RollbackTransactionpkg/sql/sem/tree/txn.go
Savepointpkg/sql/sem/tree/txn.go
ReleaseSavepointpkg/sql/sem/tree/txn.go
RollbackToSavepointpkg/sql/sem/tree/txn.go
TableNamePrefixpkg/sql/sem/tree/table_name.go

Calls

no outgoing calls

Tested by

no test coverage detected