Closed ghost closed 5 years ago
UUID isn't a database supported thing as far as I know....
Why not
Is it better to use name for fetching
Either use $uuid->toString() or $uuid->toBinary(). The raw UUID object is not a value understood by MySQL. The data type in the .sql declaration is supposed to be a scalar data type, not a specific MySQL data type .
Describe the bug I tried inserting my uuid into my database but it failed. I got this error:
SQL PREPARE error: Cannot bind value of type object, for query INSERT INTO players Expected behavior No error. Able to insert uuid into database Environment OS: Windows 10 PocketMine version: PocketMine-MP 3.6.2 for Minecraft: Bedrock Edition v1.9.0 (protocol version 332)