Skip to content

Queries for u64 values are not correct. #20

Description

@abos-gergo

I store a u64 for a player's SteamID in my table.
Running spacetime sql card "SELECT * FROM players" gives me:

steam_id name state
76561198243149168 "123" (Offline = ())

Running the same in https://stdb-admin.jlavocat.eu/sql I get:

Image

As you can see, the u64 value is off by 2. I imagine this is some weird js stuff, all clients (written in rust) get the correct values from the db, only the admin which I use to inspect the table contents is off. The same issue happens in the Explorer tab of the page.
Logging in the console gives the correct value (probably because it is a string, not a number):

Image

When looking at the network console, I can confirm the value returned by the DB is:

Image

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