Tidb: Pass ORM's tests with MySQL compatible mode.

Created on 16 Mar 2016  路  9Comments  路  Source: pingcap/tidb

  • [ ] beego
  • [x] xorm
  • [x] gorm
  • [ ] Hibernate
  • [x] iBATIS
  • [ ] Spot
  • [ ] Propel
  • [ ] Sequelize
  • [ ] SQLAlchemy
  • [ ] peewee
statuhelp-wanted

Most helpful comment

Hi @chiehwen we haven't test Sequelize, but we are compatible with MySQL protocol, in theory you can use any framework based on MySQL protocol to use TiDB, and feel free to fire issue if you meet any problem.

All 9 comments

you miss the - before [ ]

  • [ ] beego
  • [ ] xorm
  • [ ] gorm
    ....

Is sqlalchemy compatible with TiDB now?

We haven't test sqlalchemy yet. Please feel free to fire an issue.

@ngaut OK, I would test it later and fire an issue if it exists.

Is Sequelize compatible with TiDB now?

Hi @chiehwen we haven't test Sequelize, but we are compatible with MySQL protocol, in theory you can use any framework based on MySQL protocol to use TiDB, and feel free to fire issue if you meet any problem.

Working on SQLAlchemy and Hibernate, I will update an report for them in this issue and #212

This is s very nice golang orm.
https://github.com/volatiletech/sqlboiler

Unlike many there is no reflection at runtime.
It also is database first in that it generates the golang code from the schema in the database

It would be awesome if this was also tested I think.

I am going to close this issue as stale. Compatibility has improved a lot in the last two years, and if there are any specific problems discovered, it is best to create a specific issue.

Was this page helpful?
0 / 5 - 0 ratings