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
There are cases when a table have already been created but the column names are not conform with typescript naming convention. (eg: "Order_Number"). In case we want to work with these tables while maintaining the naming convention, can we support the column name alias. Something like
exportclassOrganisation{
@AutoGenerateAttribute({strategy: AUTO_GENERATE_ATTRIBUTE_STRATEGY.UUID4,})id: string;
@Attribute({alias: "Order_Number"})orderNumber: number;
@AutoGenerateAttribute({strategy: AUTO_GENERATE_ATTRIBUTE_STRATEGY.EPOCH,autoUpdate: true,// this will make this attribute and any indexes referencing it auto update for any write operation})updatedAt: number;}
The text was updated successfully, but these errors were encountered:
There are cases when a table have already been created but the column names are not conform with typescript naming convention. (eg: "Order_Number"). In case we want to work with these tables while maintaining the naming convention, can we support the column name alias. Something like
The text was updated successfully, but these errors were encountered: