|
@@ -321,7 +321,7 @@ const mm = db => {
|
|
|
|
|
|
|
|
|
|
static get m(){
|
|
static get m(){
|
|
- return (new Proxy({}, {
|
|
|
|
|
|
+ return Savable._m = (Savable._m || (new Proxy({}, {
|
|
get(obj, _class){
|
|
get(obj, _class){
|
|
if (_class in obj){
|
|
if (_class in obj){
|
|
return obj[_class]
|
|
return obj[_class]
|
|
@@ -369,7 +369,7 @@ const mm = db => {
|
|
|
|
|
|
set(obj, propName, value){
|
|
set(obj, propName, value){
|
|
}
|
|
}
|
|
- }))
|
|
|
|
|
|
+ })))
|
|
}
|
|
}
|
|
|
|
|
|
static get relations(){
|
|
static get relations(){
|
|
@@ -504,7 +504,7 @@ const mm = db => {
|
|
}
|
|
}
|
|
|
|
|
|
static get m() {
|
|
static get m() {
|
|
- return SlicedSavable._m = (SlicedSavable._m || (new Proxy({}, {
|
|
|
|
|
|
+ return SlicedSavable._sm = (SlicedSavable._sm || (new Proxy({}, {
|
|
get(obj, _class){
|
|
get(obj, _class){
|
|
if (_class in obj){
|
|
if (_class in obj){
|
|
return obj[_class]
|
|
return obj[_class]
|