Commit Graph

7 Commits

Author SHA1 Message Date
Damian Mooyman da6cefac06 Upgrade code for core namespaces 2016-08-30 13:08:11 +12:00
Damian Mooyman 9309cf3a50 API Namespace MSSQL connector (#31)
API Update to support customtable names
Update to support new namespaced orm
Cleanup PHPDoc
2016-07-15 13:57:54 +12:00
helpfulrobot 4badb07597 Converted to PSR-2 2015-12-18 07:50:59 +13:00
ClayLennart 15ff8640a2 Add bigint support 2014-07-15 09:34:19 +02:00
Sean Harvey 093df443ea Fixing use of "bigint" and "decimal" for pure integer types.
See https://github.com/silverstripe/silverstripe-mssql/issues/14
for more info.

"bigint" doesn't work for PHP 32-bit, as the integer could get too big
for PHP to be able to interpret the value as an integer type. In that
case it would try to approximate it as a float, but that could lead
to a bad assumption for identity columns.

For compatibility, stick with standard "int" type which has a maximum
value of 2147483647.

Note that MySQLAdapter already has this maximum, so changing it to
this keeps this database adapter consistent with MySQL.
2014-07-11 13:46:44 +12:00
Sean Harvey a6a9b25901 Removing reference to postgres, it doesn't belong in the mssql module. 2014-07-11 13:41:45 +12:00
Damian Mooyman 758fe810a5 API Upgraded module to use new database ORM 2014-07-11 09:46:32 +12:00