Skip to content

Storing online users in sqlalchemy database #23

@daniel2013

Description

@daniel2013

Hi,

How can I store online users in my database with the chat example? I can access the current user object but can't persist changes to it.

Using transaction.commit() after changing user.is_online to True results in a DetachedInstanceError.

Thanks,

Daniel

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