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/dialect at main · ekuplu/sqlb

Expand file tree

/

dialect

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

dialect

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
clickhouse
clickhouse
 
 
mysql
mysql
 
 
postgres
postgres
 
 
sqlite
sqlite
 
 
README.md
README.md
 
 
dialect_test.go
dialect_test.go
 
 
literal_test.go
literal_test.go
 
 

README.md

Outline

dialect — one package per engine

postgres, sqlite and clickhouse, each its own package importing render and nothing else.

The built-in three are not privileged. They import exactly what a dialect from another repository imports, so adding Postgres and adding an engine nobody has written are the same act. TestDialects_ImportOnlyRender reads each package's import list and fails on anything else. A dialect declines a capability by not implementing the interface, never by returning false, so an engine is never made to lie about what it supports.

Full documentation

The page for this package is docs/dialect/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.