You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on table, I want to create a single model for multiple tables with different DS attributes. how can i handle this.
ex: table1 model is column
import { Model } from 'ember-pouch';
export default Model.extend({
abc: DS.attr('string'),
bcd: DS.attr('number'),
abcd: DS.attr('date')
})
The same model column for table2 but DS.attribute is not same as table1
ex:
import { Model } from 'ember-pouch';
export default Model.extend({
abc: DS.attr('number'),
bcd: DS.attr('date'),
abcd: DS.attr('boolean')
})
The text was updated successfully, but these errors were encountered:
I am working on table, I want to create a single model for multiple tables with different DS attributes. how can i handle this.
ex:
table1
model iscolumn
The same model
column
fortable2
but DS.attribute is not same astable1
ex:
The text was updated successfully, but these errors were encountered: