Skip to content

go-sqlite/go-mysql-server

Repository files navigation

go-mysql-server

Build Status codecov GoDoc

go-mysql-server is an extensible MySQL server implementation in Go.

Installation

The import path for the package is gopkg.in/src-d/go-mysql-server.v0.

To install it, run:

go get gopkg.in/src-d/go-mysql-server.v0

Documentation

SQL syntax

We are continuously adding more functionality to go-mysql-server. We support a subset of what is supported in MySQL, currently including:

Supported
Comparison expressions !=, ==, >, <, >=,<=, BETWEEN
Null check expressions IS NULL, IS NOT NULL
Grouping expressions COUNT, MIN, MAX ,AVG
Standard expressions ALIAS, LITERAL, STAR (*)
Statements CROSS JOIN, INNER JOIN, DESCRIBE, FILTER (WHERE), GROUP BY, LIMIT, SELECT, SHOW TABLES, SORT, DISTINCT
Functions SUBSTRING
Time functions YEAR, MONTH, DAY, HOUR, MINUTE, SECOND, DAYOFYEAR

Custom functions

  • IS_BINARY(blob): returns whether a BLOB is a binary file or not

Powered by go-mysql-server

License

go-mysql-server is licensed under the MIT License.

About

An extensible MySQL server implementation in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.6%
  • Makefile 0.4%