Skip to content

关于RPush,LPush方法的使用问题 #220

@ZeeLyn

Description

@ZeeLyn

@2881099
我批量动态生成了多个id, 希望通过push方法一次添加到list里面去,通过以下方式调用,直接把数组序列化写入了,而不是多条:
image

写入结果:
image

通过以下方式调用又可以写入多条

await redis.RPushAsync($"wechat_video_spread:{data.Task}", 1,2,3);

对于这种动态生成的数据我该如何调用?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions