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/mysql at main · ubgo/sqlb

Expand file tree

/

mysql

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

mysql

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
testdata
testdata
 
 
README.md
README.md
 
 
ddl_coverage_test.go
ddl_coverage_test.go
 
 
ddlgaps_test.go
ddlgaps_test.go
 
 
describe.go
describe.go
 
 
entry.go
entry.go
 
 
forms.go
forms.go
 
 
forms_test.go
forms_test.go
 
 
mysql.go
mysql.go
 
 
mysql_test.go
mysql_test.go
 
 
objects.go
objects.go
 
 
options.go
options.go
 
 
partition.go
partition.go
 
 
partition_test.go
partition_test.go
 
 
read.go
read.go
 
 
routines.go
routines.go
 
 
table.go
table.go
 
 
write.go
write.go
 
 
zerovalue_test.go
zerovalue_test.go
 
 

README.md

Outline

mysql — MySQL statements and constructs

Everything MySQL in one import: the statements start here, mysql.Select, mysql.Insert, mysql.Update, mysql.Delete and the DDL constructors, and the constructs MySQL spells its own way are beside them: the upsert with its row alias, INSERT IGNORE, UPDATE and DELETE with LIMIT, locking reads, WITH ROLLUP, full-text MATCH, the JSON and text functions, and MySQL's keys, indexes, views and triggers.

Every construct is executed, not only rendered. contrib/driver-mysql runs each against a real MySQL 8.4, and the first runs found three that rendered cleanly and failed there.

The DDL detector in ddl_coverage_test.go classifies every statement the server's own HELP 'Data Definition' lists. Since 2026-09-24 it has no partial and no left-out entry: the table options, the remaining ALTER TABLE actions, the partition maintenance actions, the procedural trigger steps, ALTER VIEW, the EVENT and the stored routines all build, and what it still does not build is the seventeen statements it marks operator — server, storage and account administration, which a library's schema does not own.

Full documentation

The page for this package is docs/mysql/README.md, ending in a reference table generated from the source. The documentation index is ../docs/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.