我在数据库中有这种存储过程,如何用sequelize实现它?
ALTER PROCEDURE [dbo].[Sarbazi]
@name nvarchar(255),
@famili nvarchar(255),
@grade nvarchar(255)
AS
BEGIN
SELECT
[dbo].[createProjects].[name],
[dbo].[createProjects].family,
[dbo].[createProjects].grade
FROM
[dbo].[createProjects]
WHERE
([dbo].[createProjects].[name] = @name OR @name = '')
AND ([dbo].[createProjects].family = @famili OR @famili = '')
AND ([dbo].[createProjects].grade = @grade OR @grade = '')
END
我无法实现,是否可以编写它?
答案 0 :(得分:0)
arn:aws:...