Commit Graph

17 Commits

Author SHA1 Message Date
Marsel
c4e60ca2a8 Include unicode_literals 2017-08-20 10:37:11 +03:00
Itai Shirav
d02d6b14eb - Added ne and not_in queryset operators
- Querysets no longer have a default order when `order_by` is not called
- Added `autocreate` flag to database initializer
- Fix for SELECT FROM JOIN (#37)
2017-06-15 12:19:17 +03:00
Itai Shirav
b3437dae7e Add a couple of small tests 2017-05-05 15:22:16 +03:00
Itai Shirav
7c26c4da5a Refactor tests with data 2017-04-24 13:14:13 +03:00
Itai Shirav
e1ef96f05b Add a test for "with totals" 2017-04-04 14:41:23 +03:00
Itai Shirav
1d573ded96 Merge branch 'develop' of https://github.com/emakarov/infi.clickhouse_orm into emakarov-develop
# Conflicts:
#	src/infi/clickhouse_orm/models.py
#	tests/test_database.py
2017-02-19 09:12:00 +02:00
M1ha
6f975a801c 1) Added get_database method to Model
2) Added some assertions in tests for adding _database attribute in selects and inserts
3) database.insert() method sets _database
2017-02-19 09:04:32 +02:00
M1ha
db61efd4cc 1) Added readonly models
2) Added SystemPart models in order to execute partition operations
2017-02-19 09:01:33 +02:00
emakarov
77b33c0ed4 test added. engine sql query fix to support special characters 2017-02-08 23:21:48 +03:00
Itai Shirav
5b03e66048 Send readonly=1 when database is created in readonly mode 2017-02-07 16:36:41 +02:00
Itai Shirav
ce8c77684e Allow passing -1 as the page number (returning the last page) 2017-01-25 15:10:14 +02:00
Itai Shirav
071bcd283d Add Python 3 support 2016-08-01 10:28:10 +03:00
Itai Shirav
b4f4af8c75 support pagination 2016-07-03 15:39:08 +03:00
Itai Shirav
c6c9f13e51 Support dashes and other special characters in database names and table names 2016-06-30 11:36:54 +03:00
Itai Shirav
92ea9d413e support ad-hoc models 2016-06-26 15:11:16 +03:00
Itai Shirav
9262f0eae6 add database.select and field range checks 2016-06-23 19:05:44 +03:00
Itai Shirav
b08f1b3688 model field conversion on assignment 2016-06-23 18:24:20 +03:00