如何通过sequelize(nodejs)正确使用嵌套包含查询

时间:2019-05-18 23:40:30

标签: node.js sequelize.js

我带有sequelize的嵌套包含查询给了我这个错误

uses
  Androidapi.JNI.Support, Androidapi.Helpers;

procedure TServiceModule.StartForeground;
var
  LBuilder: JNotificationCompat_Builder;
begin
  LBuilder := TJNotificationCompat_Builder.JavaClass.init(TAndroidHelper.Context);
  LBuilder.setAutoCancel(True);
  LBuilder.setContentTitle(StrToJCharSequence('Title'));
  LBuilder.setContentText(StrToJCharSequence('Text'));
  LBuilder.setSmallIcon(TAndroidHelper.Context.getApplicationInfo.icon);
  LBuilder.setTicker(StrToJCharSequence('Caption'));
  // 1413 is just a number picked at random
  TJService.Wrap(System.JavaContext).startForeground(1413, LBuilder.build);
end;

procedure TServiceModule.StopForeground;
begin
  TJService.Wrap(System.JavaContext).stopForeground(True);
end;

我不知道我做错了什么,我只需要它可以工作,对Node.js还是很新

这是代码

"category is associated to course using an alias. You've included an alias (Category), but it does not match the alias defined in your association."

请问如何使它工作

0 个答案:

没有答案