Sergey Kurt
4f02886c2b
Added space in SELECT TOP clause
2017-03-14 14:31:52 +03:00
Sergey Kurt
b783311248
Hack for MS SQL limit/offset query without ORDER BY clause
2017-03-14 14:24:03 +03:00
Sergey Kurt
cbdbe4891a
MSSQL rows limit/offset via TOP or OFFSET ... FETCH NEXT ... ROWS
2017-03-14 11:13:56 +03:00
Aaron L
8f96ba35d6
Allow insertion of only-defaulted tables
...
- Tables that are only comprised of default values and have nothing
passed into them on insertion will no longer generate syntax errors.
2017-03-01 18:18:47 -08:00
Aaron L
b7cd6f3f99
Add additional nil checks to the eager loading code
...
- Needed a couple nil checks in the eager loading code. The tests didn't
(and now do) cover the case where an eager load function returns
empty or nil things.
- Fix #66
2016-11-15 21:56:59 -08:00
Aaron L
a8330b18ad
Fix a len(0) check that wasn't occurring
2016-11-15 20:34:36 -08:00
Patrick O'brien
86ca3bbcea
Fixed import paths for null package, add byte typ
2016-11-12 12:02:44 +10:00
Aaron L
480ba81555
Fix documentation bug.
2016-11-08 18:27:26 -08:00
Aaron L
de8f0bc26e
Fix #55
...
- Previously each call to qm.Load would overwrite your eager loading
statement. I think this was deliberate at one point but it's pretty
inconsistent. If we need to overwrite we can call queries.SetLoad()
2016-09-30 23:24:42 -07:00
Aaron L
8ee2fc0c08
Fix one bug in eager loading
...
- Improve testing in eager loading a lot
2016-09-29 08:17:13 -07:00
Aaron L
718691fc53
Use graph descent approach to pass tests
...
- The problem with the old approach is that it was looping over each
result, and then recursing in and doing it's loading. But in reality
we should only load from a table in a capacity once (tomany, toone).
2016-09-28 23:57:15 -07:00
Aaron L
e625589ed1
Work in progress
...
- The eager loading is behaving correctly now
2016-09-28 19:57:38 -07:00
Patrick O'brien
d3f15c1953
Add tests for delete/deleteall
2016-09-20 16:55:36 +10:00
Patrick O'brien
c1dab978a5
Merge branch 'byteslicepkeys' into dev
2016-09-20 13:46:06 +10:00
Patrick O'brien
910c4b66ee
Fix fish DeleteAll bug
2016-09-19 19:30:50 +10:00
Patrick O'brien
4a9e7a1b1a
Fix upsert for mysql
2016-09-19 17:51:06 +10:00
Aaron L
de7ba2fa8e
Clean up the reflect tests.
2016-09-14 23:20:42 -07:00
Aaron L
f6323d5ebe
Delete unused code
2016-09-14 23:06:06 -07:00
Patrick O'brien
78de983d7d
Fix calls to Raw and RawG
2016-09-15 15:13:09 +10:00
Aaron L
12967f7b66
Fix up the interface to raw queries.
2016-09-14 20:58:18 -07:00
Aaron L
5149df8359
Move everything to better package structure
2016-09-14 20:45:09 -07:00