home / chat

sliding_sync_membership_snapshots

17 rows where room_id = "!DOKvXoFHlHLFlRknXs:matrix.jamesst.one"

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: sender, membership

Link room_id user_id sender membership_event_id membership forgotten event_stream_ordering event_instance_name has_known_state room_type room_name is_encrypted tombstone_successor_room_id
!DOKvXoFHlHLFlRknXs:matrix.jamesst.one,@james:matrix.jamesst.one !DOKvXoFHlHLFlRknXs:matrix.jamesst.one @james:matrix.jamesst.one @signalbot:matrix.jamesst.one $dwdN_24cYNxBxOBJVXS-CTKN4KhNWAN8x9LoQya9N9Y invite 0 16831 16831 master 1   theREDhouse 0  
!DOKvXoFHlHLFlRknXs:matrix.jamesst.one,@signal_1e58512a-ee3f-4c6b-bb97-fbf1f79a9f26:matrix.jamesst.one !DOKvXoFHlHLFlRknXs:matrix.jamesst.one @signal_1e58512a-ee3f-4c6b-bb97-fbf1f79a9f26:matrix.jamesst.one @signalbot:matrix.jamesst.one $Baz2TXn5tCIbqOVCw409IKyt3VXHlegcPEfVkEKm8No ban 0 16833 16833 master 1   theREDhouse 0  
!DOKvXoFHlHLFlRknXs:matrix.jamesst.one,@signal_2bf0b917-c5b3-4c8f-a145-c0b0bbb5af44:matrix.jamesst.one !DOKvXoFHlHLFlRknXs:matrix.jamesst.one @signal_2bf0b917-c5b3-4c8f-a145-c0b0bbb5af44:matrix.jamesst.one @signal_2bf0b917-c5b3-4c8f-a145-c0b0bbb5af44:matrix.jamesst.one $rwJ9meyhLheXjeXjtWqadb_0AxxVGieUR-yAmRb4v_o join 0 16842 16842 master 1   theREDhouse 0  
!DOKvXoFHlHLFlRknXs:matrix.jamesst.one,@signal_40eef9b2-09f4-45bc-a567-cfd597a8bf6d:matrix.jamesst.one !DOKvXoFHlHLFlRknXs:matrix.jamesst.one @signal_40eef9b2-09f4-45bc-a567-cfd597a8bf6d:matrix.jamesst.one @signalbot:matrix.jamesst.one $enwtbo4XYWXfAVkZWMBbkN8t-ZWmBC4YOpAsj9TeMHQ ban 0 16832 16832 master 1   theREDhouse 0  
!DOKvXoFHlHLFlRknXs:matrix.jamesst.one,@signal_555b9cbc-f341-434d-90be-381772d7f349:matrix.jamesst.one !DOKvXoFHlHLFlRknXs:matrix.jamesst.one @signal_555b9cbc-f341-434d-90be-381772d7f349:matrix.jamesst.one @signal_555b9cbc-f341-434d-90be-381772d7f349:matrix.jamesst.one $_jbUCvz34Y7AdzzE7FFB207e_ux2Bqpi6kUotARKObs join 0 16851 16851 master 1   theREDhouse 0  
!DOKvXoFHlHLFlRknXs:matrix.jamesst.one,@signal_69b79387-9aa9-4dad-8a4e-cad534fcfcd0:matrix.jamesst.one !DOKvXoFHlHLFlRknXs:matrix.jamesst.one @signal_69b79387-9aa9-4dad-8a4e-cad534fcfcd0:matrix.jamesst.one @signal_69b79387-9aa9-4dad-8a4e-cad534fcfcd0:matrix.jamesst.one $9e6bLDOXF30rcCanQm4pAmcVgHe1asVZZ9DxJbHgE4U join 0 16844 16844 master 1   theREDhouse 0  
!DOKvXoFHlHLFlRknXs:matrix.jamesst.one,@signal_7d49f5b3-36e3-454f-9e4f-dff731d14a53:matrix.jamesst.one !DOKvXoFHlHLFlRknXs:matrix.jamesst.one @signal_7d49f5b3-36e3-454f-9e4f-dff731d14a53:matrix.jamesst.one @signal_7d49f5b3-36e3-454f-9e4f-dff731d14a53:matrix.jamesst.one $Ze0qPS4ZSQyMS-ub6TECjSJ3DOAgYTq861Wq3AQAjhM join 0 16838 16838 master 1   theREDhouse 0  
!DOKvXoFHlHLFlRknXs:matrix.jamesst.one,@signal_878a410d-e4ac-4e41-80ed-bab664806d09:matrix.jamesst.one !DOKvXoFHlHLFlRknXs:matrix.jamesst.one @signal_878a410d-e4ac-4e41-80ed-bab664806d09:matrix.jamesst.one @signal_878a410d-e4ac-4e41-80ed-bab664806d09:matrix.jamesst.one $My_Q0LRJjzaCHM6jFviKg5cmmMBBzYlPztakXxOV33o join 0 16849 16849 master 1   theREDhouse 0  
!DOKvXoFHlHLFlRknXs:matrix.jamesst.one,@signal_9df063f2-0820-4fa2-9593-8da791d0ad33:matrix.jamesst.one !DOKvXoFHlHLFlRknXs:matrix.jamesst.one @signal_9df063f2-0820-4fa2-9593-8da791d0ad33:matrix.jamesst.one @signalbot:matrix.jamesst.one $dbCCcETBpW-L_BZpebX0vzvANrqk3UZRuWndsS0I0wg ban 0 16845 16845 master 1   theREDhouse 0  
!DOKvXoFHlHLFlRknXs:matrix.jamesst.one,@signal_9e7a091a-a92e-45cf-9cb9-64d2fe32133c:matrix.jamesst.one !DOKvXoFHlHLFlRknXs:matrix.jamesst.one @signal_9e7a091a-a92e-45cf-9cb9-64d2fe32133c:matrix.jamesst.one @signal_9e7a091a-a92e-45cf-9cb9-64d2fe32133c:matrix.jamesst.one $kri5c3Pi-_5dLT7YxBEAwsS5vY2x6-J5pfE2pswlr-M join 0 16830 16830 master 1   theREDhouse 0  
!DOKvXoFHlHLFlRknXs:matrix.jamesst.one,@signal_a56397a8-53e7-43b4-8e8e-01254a6059c8:matrix.jamesst.one !DOKvXoFHlHLFlRknXs:matrix.jamesst.one @signal_a56397a8-53e7-43b4-8e8e-01254a6059c8:matrix.jamesst.one @signal_a56397a8-53e7-43b4-8e8e-01254a6059c8:matrix.jamesst.one $_V9w_UdpMKNTeunWgAl0ol-3xvxEv62kzGvkwD-j2ZE join 0 16826 16826 master 1   theREDhouse 0  
!DOKvXoFHlHLFlRknXs:matrix.jamesst.one,@signal_bc53bb96-98c5-4e60-b0cb-c2d3e2fa91a3:matrix.jamesst.one !DOKvXoFHlHLFlRknXs:matrix.jamesst.one @signal_bc53bb96-98c5-4e60-b0cb-c2d3e2fa91a3:matrix.jamesst.one @signal_bc53bb96-98c5-4e60-b0cb-c2d3e2fa91a3:matrix.jamesst.one $D0mbVKtV-6Z1-ijPO8z5QlOOoGXjIZ-ijevMhoZSaJg join 0 16847 16847 master 1   theREDhouse 0  
!DOKvXoFHlHLFlRknXs:matrix.jamesst.one,@signal_dedd9b03-526f-4fc3-932e-87231e65d464:matrix.jamesst.one !DOKvXoFHlHLFlRknXs:matrix.jamesst.one @signal_dedd9b03-526f-4fc3-932e-87231e65d464:matrix.jamesst.one @signal_dedd9b03-526f-4fc3-932e-87231e65d464:matrix.jamesst.one $Ja11Qg9G4XJbW9UBRDCNy2-N-MKYZKiE0xawtsauF4M join 0 16828 16828 master 1   theREDhouse 0  
!DOKvXoFHlHLFlRknXs:matrix.jamesst.one,@signal_e86076e2-74d3-4749-8ee1-aeba0ee04b87:matrix.jamesst.one !DOKvXoFHlHLFlRknXs:matrix.jamesst.one @signal_e86076e2-74d3-4749-8ee1-aeba0ee04b87:matrix.jamesst.one @signal_e86076e2-74d3-4749-8ee1-aeba0ee04b87:matrix.jamesst.one $eH-Dc5XSqDCoeZ8-YEriKstUdUEvcj_eCNELgsRpfjQ join 0 16840 16840 master 1   theREDhouse 0  
!DOKvXoFHlHLFlRknXs:matrix.jamesst.one,@signal_ee9352df-a332-42ea-aa2f-9d0c65579263:matrix.jamesst.one !DOKvXoFHlHLFlRknXs:matrix.jamesst.one @signal_ee9352df-a332-42ea-aa2f-9d0c65579263:matrix.jamesst.one @signal_ee9352df-a332-42ea-aa2f-9d0c65579263:matrix.jamesst.one $XPCk6klnkAUIUkVaYb2Yudg29t_j8cTMATrZBEqd3Zk join 0 16836 16836 master 1   theREDhouse 0  
!DOKvXoFHlHLFlRknXs:matrix.jamesst.one,@signal_pni__5a42e6b6-b879-4f38-997a-460e662faef5:matrix.jamesst.one !DOKvXoFHlHLFlRknXs:matrix.jamesst.one @signal_pni__5a42e6b6-b879-4f38-997a-460e662faef5:matrix.jamesst.one @signalbot:matrix.jamesst.one $D9OjZ8UqPklGY8qHlo-isRVsJ3NKIuq6AzzKOhtV5ck invite 0 16834 16834 master 1   theREDhouse 0  
!DOKvXoFHlHLFlRknXs:matrix.jamesst.one,@signalbot:matrix.jamesst.one !DOKvXoFHlHLFlRknXs:matrix.jamesst.one @signalbot:matrix.jamesst.one @signalbot:matrix.jamesst.one $XS0wrBn6rU6bd6qkwXQF-Y64Jc0qptQNi4HIZH5UFzg join 0 16812 16812 master 1     0  

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE sliding_sync_membership_snapshots(
    room_id TEXT NOT NULL REFERENCES rooms(room_id),
    user_id TEXT NOT NULL,
    -- Useful to be able to tell leaves from kicks (where the `user_id` is different from the `sender`)
    sender TEXT NOT NULL,
    membership_event_id TEXT NOT NULL REFERENCES events(event_id),
    membership TEXT NOT NULL,
    -- This is an integer just to match `room_memberships` and also means we don't need
    -- to do any casting.
    forgotten INTEGER DEFAULT 0 NOT NULL,
    -- `stream_ordering` of the `membership_event_id`
    event_stream_ordering BIGINT NOT NULL REFERENCES events(stream_ordering),
    -- `instance_name` of the worker that persisted the `membership_event_id`.
    -- Useful for crafting `PersistedEventPosition(...)`
    event_instance_name TEXT NOT NULL,
    -- For remote invites/knocks that don't include any stripped state, we want to be
    -- able to distinguish between a room with `None` as valid value for some state and
    -- room where the state is completely unknown. Basically, this should be True unless
    -- no stripped state was provided for a remote invite/knock (False).
    has_known_state BOOLEAN DEFAULT FALSE NOT NULL,
    -- `m.room.create` -> `content.type` (according to the current state at the time of
    -- the membership).
    --
    -- Useful for the `spaces`/`not_spaces` filter in the Sliding Sync API
    room_type TEXT,
    -- `m.room.name` -> `content.name` (according to the current state at the time of
    -- the membership).
    --
    -- Useful for the room meta data and `room_name_like` filter in the Sliding Sync API
    room_name TEXT,
    -- `m.room.encryption` -> `content.algorithm` (according to the current state at the
    -- time of the membership).
    --
    -- Useful for the `is_encrypted` filter in the Sliding Sync API
    is_encrypted BOOLEAN DEFAULT FALSE NOT NULL,
    -- `m.room.tombstone` -> `content.replacement_room` (according to the current state at the
    -- time of the membership).
    --
    -- Useful for the `include_old_rooms` functionality in the Sliding Sync API
    tombstone_successor_room_id TEXT,
    PRIMARY KEY (room_id, user_id)
);
CREATE UNIQUE INDEX sliding_sync_membership_snapshots_event_stream_ordering ON sliding_sync_membership_snapshots(event_stream_ordering);
CREATE INDEX sliding_sync_membership_snapshots_membership_event_id_idx ON sliding_sync_membership_snapshots (membership_event_id) ;
CREATE INDEX sliding_sync_membership_snapshots_user_id_stream_ordering ON sliding_sync_membership_snapshots (user_id, event_stream_ordering) ;
Powered by Datasette · Queries took 45.28ms