Jump to content
  • 0

Read Write inside data base


Andrej

Question

I'm struggling with database how can i get value from custom column.
I have create a custom column "Start" inside "character_data" with:
 

ALTER TABLE `Character_DATA` ADD `Start` INT(1) NOT NULL DEFAULT '1';

I have tried with:
 

_key = format["CHILD:999:SELECT `Start` FROM `charater_data`"];
_data = _key call server_hiveReadWrite;

I need that INT from "Start"  "1" to select don't know how
and i need update it don't know how i tried with

_key = format["CHILD:998:UPDATE `character_data` SET `Start`= 2"];
_result = _key call server_hiveReadWrite; 

Please someone help cant make this working.
Thank you

It is epoch 1.0.6

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...