GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — sqlb/render at main · ekuplu/sqlb

Expand file tree

/

render

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

render

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
dialects_test.go
dialects_test.go
 
 
inline_test.go
inline_test.go
 
 
render.go
render.go
 
 
render_test.go
render_test.go
 
 

README.md

Outline

render — text, placeholders and bound values

The bottom layer. It owns Dialect, Args, SQLer, Raw, Quote and ErrUnsupportedDialect, and it imports only the standard library.

It says nothing about SQL, and that is load-bearing. Operators, join types, sort directions and keywords are SQL vocabulary and belong to the layers above, because a Gremlin or MongoDB target has no JOIN and no <>. TestRender_ServesANonSQLTarget drives this layer with a non-SQL dialect and TestRender_ImportsOnlyStdlib pins the floor. A construct, operator or keyword added here is a defect even when it compiles.

Full documentation

The page for this package is docs/render/README.md, with runnable snippets — every one of them copied from a test whose expected output go test checks. The documentation index is ../docs/README.md and the repository README is ../README.md.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.