mouday

Results 49 issues of mouday

i had used consolecolor, but work not good, colorama looked useful!

cache.increment('key', 1) Traceback (most recent call last): File "workspace/DataSpider/script/orator-test.py", line 76, in cache.increment('key', 1) File ".pyenv/versions/py370/lib/python3.7/site-packages/cachy/stores/file_store.py", line 128, in increment integer = int(raw['data']) + value ValueError: invalid literal for int()...

my code from document: https://orator-orm.com/docs/0.9/basic_usage.html#configuration ``` from orator import DatabaseManager config = { 'mysql': { 'driver': 'mysql', 'host': 'localhost', 'database': 'data', 'user': 'root', 'password': '123456', 'prefix': '' } } db...

this project is very good, it is useful for me, but, this project is don't update for long time, why?

eg: before ``` b"SELECT `id` FROM `company` WHERE `company` = '\xe6\xb7\xb1\xe5\x9c\xb3\xe5\xb8\x82\xe6\x98\x9f\xe6\x9c\x9f\xe9\x9b\xb6\xe9\xa3\x9f\xe5\x93\x81\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8' LIMIT 1" ``` after ``` SELECT `id` FROM `company` WHERE `company` = '深圳市星期零食品科技有限公司' LIMIT 1 ```

``` Executed b"SELECT * FROM `table` WHERE `name` = '\xe5\xbe\x90\xe5\xb7\xa5\xe4\xbf\xa1\xe6\x81\xaf' LIMIT 1" in 30.75ms ``` i wish this: ``` Executed b"SELECT * FROM `table` WHERE `name` = '徐工信息' LIMIT 1"...

use pluck is ok, but i see code is say : lists is Alias for "pluck" i am try it ,got a exception: ``` data = [ {'name': 'Tom', 'age':...

mycode: ``` from orator_cache import DatabaseManager, Cache stores = { 'default': 'file', 'stores': { 'file': { 'driver': 'file', 'path': 'workspace/DataSpider/script/cache' } } } cache = Cache(stores) db = DatabaseManager(config, cache=cache)...

in document https://orator-orm.com/docs/0.9/query_builder.html#incrementing-or-decrementing-the-value-of-a-column ``` db.table('student').increment('votes', 1, name='John') # TypeError: increment() got an unexpected keyword argument 'name' ```

document : ``` query = db.table('student').order_by('name', 'desc') query = query.group_by('count') query = query.having('count', '>', 100) users = query.get() ``` Exception ``` # orator.exceptions.query.QueryException: (1054, "Unknown column 'count' in 'group statement'")...