snower / TorMySQL

The highest performance asynchronous MySQL driver by PyMySQL
MIT License
308 stars 63 forks source link

Context processors and testing with TravisCI #3

Closed mosquito closed 8 years ago

mosquito commented 9 years ago

Context processors support

sql = "select * from user limit 1"
    with (yield self.pool.Connection()) as connection:
        with connection.cursor() as cursor:
            yield cursor.execute(sql)
            datas = cursor.fetchall()
            print (datas)

https://travis-ci.org/mosquito/TorMySQL

snower commented 8 years ago

Thank you!Why you want to modify the package name?Now some projects have been used tormysql package name,if you want to modify the package name,we have to change all of code.May be it is
difficult.Can you retain the original package name?

mosquito commented 8 years ago

Hey. I had to do it because I used this module in my work. You don't answer on my pull request and a had to make the fork.

snower commented 8 years ago

Sorry,I just hope I can merge it, so that we can do it better.

mosquito commented 8 years ago

I Revert the package name See that