Alex Grintsvayg
912a689701
added unique key detection (mysql only for now), improved merging
2017-05-12 06:56:48 -04:00
Alex Grintsvayg
31fe8b6e1d
model merging
2017-05-10 15:35:05 -04:00
Alex Grintsvayg
b160e5c1f4
dont error if no rows found
2017-05-10 11:21:29 -04:00
Alex Grintsvayg
ed43c9078f
made query structs public, added IS NULL to filter
2017-05-09 15:30:04 -04:00
Alex Grintsvayg
f863ecb48e
add model Filters, FindOrCreate methods, IsNew()
2017-05-08 16:39:16 -04:00
Alex Grintsvayg
451723ccb9
fix imports to point at lbryio repo
2017-05-08 13:25:15 -04:00
Alex Grintsvayg
687b0506db
Merge branch 'mysql-uint-fix'
...
* mysql-uint-fix:
detect unsigned int columns in mysql
2017-05-08 13:12:48 -04:00
Alex Grintsvayg
1467b88f04
detect unsigned int columns in mysql
2017-05-08 13:10:21 -04:00
Aaron L
070df18197
Add mailing lists
2017-05-01 19:44:52 -07:00
Aaron L
3b5ab423b3
Bump version
2017-05-01 18:41:49 -07:00
Aaron L
632b89fae0
Merge branch 'dev'
2017-05-01 18:41:02 -07:00
Aaron L
112a836af2
Make UDT's that aren't enums fall through
...
- This allows typse that are not enumerations to properly escape the
enumeration code in the query.
- Fix #131
2017-04-28 21:07:39 -07:00
Aaron L
7a8d78cceb
Merge branch 'mssql_tests' into dev
2017-04-28 20:08:34 -07:00
Aaron L
ecad5334fb
Fix MySQL protocol selection
...
- If MySQL host exists on the filesystem as a file, then expect that
this is actually a unix socket. If not, add protocol=tcp to force the
mysql client to use tcp otherwise it tries unix sockets for no reason.
Thanks MySQL.
2017-04-28 20:01:27 -07:00
Aaron L
196b4099a1
Merge branch 'nemec/mssql_tests' into mssql_tests
2017-04-28 19:30:12 -07:00
Sergey Kurt
a3442a5ab4
Fixed INSERT-SELECT deadlocks in tests
2017-04-28 23:58:17 +03:00
Aaron L
a9264e6447
Merge branch 'maks/fix_noauto_template' into dev
2017-04-24 10:15:00 -07:00
Maksim
bdd28d9d5b
fix removing whitespace
2017-04-24 12:46:56 -04:00
Aaron L
7de817b111
Add dep fetch to tests part
2017-04-23 17:33:47 -07:00
Aaron L
0b44c26a26
Add passwords to psql/mysql
2017-04-23 16:39:36 -07:00
Aaron L
36ae141304
Turn off PSQL SSL in tests
2017-04-23 16:22:10 -07:00
Aaron L
85c9104d34
Fix syntax error
2017-04-23 16:17:46 -07:00
Aaron L
5ee4b06c9b
Move CircleCI file to correct spot
2017-04-23 16:16:07 -07:00
Aaron L
3a38ed1f7a
Add Dockerfile
2017-04-23 16:14:37 -07:00
Aaron L
e4d1e606fd
CI for mssql
...
- Fix a bug where mysql was never tested in CI (hah!)
2017-04-23 16:00:24 -07:00
Aaron L
6a0817d37d
Update benchmark section
2017-04-23 14:28:21 -07:00
Aaron
5a33894412
Add contribution guidelines
2017-04-16 11:59:13 -07:00
Aaron
d9b991e487
Merge remote-tracking branch 'michsior/dev' into dev
2017-04-16 11:35:12 -07:00
Michał Mrozek
91a798d9af
Update global.go
2017-04-16 20:00:43 +02:00
Aaron L
0818af0e26
Don't use XSlice where unneeded.
...
- In the bowels of the eager loading we weave in and out of reflection,
but we should not care about using XSlice unless it's going back to
the user. This change makes it so the XSlice is only used where it
matters, everywhere else is *[]*X to avoid type assertion errors from
being able to have either or come into the Load() functions.
- Fix #124
2017-04-04 19:44:36 -07:00
Aaron L
10cfe74989
Fix a bug that could occur on no-field inserts
2017-04-04 19:42:49 -07:00
Aaron L
d13410617f
Correct whitespace errors
2017-04-04 19:40:12 -07:00
Aaron L
91950e711e
Add slack badge to readme
2017-04-04 17:46:51 -07:00
Aaron L
3d1f3fc609
Use different schema names for different drivers
2017-04-02 09:40:08 -07:00
Sergey Kurt
4560da9bd1
Fixed comment for TableNames
2017-04-02 12:48:29 +03:00
Sergey Kurt
fd2c7ad764
Fixed Upsert statement for postgres, mysql
2017-04-02 12:27:33 +03:00
Sergey Kurt
b2acda8ade
Generic Select statement in Reload
2017-04-01 21:11:01 +03:00
Sergey Kurt
f913d5e791
Generic Delete statement
2017-04-01 21:08:29 +03:00
Sergey Kurt
178d925c24
Generic Update statement
2017-04-01 21:00:13 +03:00
Sergey Kurt
783e7a82b3
Choosing StartIndex at template time
2017-04-01 20:30:40 +03:00
Sergey Kurt
b6d0a5142a
Removed special case for mssql
2017-04-01 20:16:05 +03:00
Sergey Kurt
e1dfd0bb1e
Newline at end of file
2017-04-01 18:59:22 +03:00
Patrick O
aca431b3ce
Merge pull request #123 from concreted/patch-1
...
(fix) typo in README
2017-04-01 12:49:13 +10:00
Aric Huang
f94fa547e7
(fix) typo in README
2017-03-31 15:02:32 -07:00
Sergey Kurt
a4ba4b6e9d
Uniqueidentifier now treated as uuid
2017-03-31 11:39:12 +03:00
Sergey Kurt
dfbcef7fe3
Fixed typo and combined variables declaration
2017-03-31 11:27:34 +03:00
Sergey Kurt
874d2ed2e6
Fixed type for non-nullable uniqueidentifier, xml
2017-03-31 11:24:11 +03:00
Sergey Kurt
dbf897977a
Newline at end of file
2017-03-31 11:07:30 +03:00
Sergey Kurt
b10df110a0
Newline at end of file
2017-03-31 11:05:52 +03:00
Sergey Kurt
b4fc4447f8
Fixed trim direction
2017-03-31 11:03:16 +03:00