mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
API CHANGE Removed MSSQLDatabase::escape_character() which doesn't need to belong on the database
This commit is contained in:
parent
d667b49f5f
commit
530a780a90
@ -967,13 +967,6 @@ class MSSQLDatabase extends SS_Database {
|
||||
return 'numeric(4)';
|
||||
}
|
||||
|
||||
function escape_character($escape=false){
|
||||
if($escape)
|
||||
return "\\\"";
|
||||
else
|
||||
return "\"";
|
||||
}
|
||||
|
||||
/**
|
||||
* This returns the column which is the primary key for each table
|
||||
* In Postgres, it is a SERIAL8, which is the equivalent of an auto_increment
|
||||
@ -981,7 +974,6 @@ class MSSQLDatabase extends SS_Database {
|
||||
* @return string
|
||||
*/
|
||||
function IdColumn($asDbValue=false, $hasAutoIncPK=true){
|
||||
|
||||
if($asDbValue)
|
||||
return 'bigint not null';
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user