Get Key Name from Data?

I’m currently messing around with the new Memory Store system, and this question probably goes for using Data Stores as well, but how can I get the name of a key?

I’m wanting to use Memory:GetRangeAsync(), but I’m wondering how I’d get the name of the key when iterating through what that would return.

Turns out that it returns both.

▼  {
    ["key"] = "16554100",
    ["value"] = "0, 3.1099998950958, 0"
   }  
1 Like