@@ -10,7 +10,7 @@ license: MIT license <http://www.opensource.org/licenses/mit-license.php>
10
10
authors:
11
11
- Ian Beck
12
12
13
- version: 2.0.1
13
+ version: 2.0.2
14
14
15
15
Core class design based on the Mootools Database class by André Fiedler:
16
16
http://github.com/SunboX/mootools-database/
@@ -71,6 +71,12 @@ enyo.kind({
71
71
insertData : enyo . bind ( this , this . insertData ) ,
72
72
_errorHandler : enyo . bind ( this , this . _errorHandler )
73
73
} ;
74
+
75
+ // @deprecated methods and properties; provided for backwards compatibility
76
+ this . lastInsertID = this . lastInsertId ;
77
+ this . setSchemaFromURL = this . setSchemaFromUrl ;
78
+ this . insertDataFromURL = this . insertDataFromUrl ;
79
+ this . changeVersionWithSchemaFromURL = this . changeVersionWithSchemaFromUrl ;
74
80
} ,
75
81
76
82
/** @protected */
@@ -113,8 +119,6 @@ enyo.kind({
113
119
lastInsertId : function ( ) {
114
120
return this . lastInsertRowId ;
115
121
} ,
116
- // @deprecated Provided for backwards compatibility
117
- lastInsertID : this . lastInsertId ,
118
122
119
123
/**
120
124
* Close the database connection
@@ -376,8 +380,6 @@ enyo.kind({
376
380
setSchemaFromUrl : function ( url , options ) {
377
381
this . _readUrl ( url , this . bound . setSchema , options ) ;
378
382
} ,
379
- // @deprecated Provided for backwards compatibility
380
- setSchemaFromURL : this . setSchemaFromUrl ,
381
383
382
384
/**
383
385
* Inserts arbitrary data from a Javascript object
@@ -443,8 +445,6 @@ enyo.kind({
443
445
insertDataFromUrl : function ( url , options ) {
444
446
this . _readUrl ( url , this . bound . insertData , options ) ;
445
447
} ,
446
- // @deprecated Provided for backwards compatibility
447
- insertDataFromURL : this . insertDataFromUrl ,
448
448
449
449
450
450
// === VERSIONING METHODS ===
@@ -534,8 +534,6 @@ enyo.kind({
534
534
changeVersionWithSchemaFromUrl : function ( newVersion , url , options ) {
535
535
this . _readUrl ( url , enyo . bind ( this , this . changeVersionWithSchema , newVersion ) ) ;
536
536
} ,
537
- // @deprecated Provided for backwards compatibility
538
- changeVersionWithSchemaFromURL : this . changeVersionWithSchemaFromUrl ,
539
537
540
538
541
539
// === SQL Methods ===
0 commit comments