Skip to content

insionng/tidb-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tidb driver and dialect for github.com/go-xorm/xorm

** experiment support **

STATUS: build pass but some tests failed.

Currently, we can support tidb for some operations.

How to use

Just like other supports of xorm, but you should import the three packages:

Since github.com/cznic/ql# has not been resolved, we just use github.com/lunny/ql instead.

import (
    _ "github.com/pingcap/tidb"
    _ "github.com/go-xorm/tidb"
    "github.com/go-xorm/xorm"
)

// for open a file
xorm.NewEngine("tidb", "goleveldb://./tidb.db")

About

experiment support for github.com/pingcap/tidb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%