Hi, does anybody know how to assign CURRENT_TIMESTAMP or other keyword/function as a DEFAULT to the CREATE VERTEX syntax, so it’ll populate this data attribute with the current timestamp during load?
Thanks!
IF this is during a load:
You could try gsql_current_time_epoch(0)
which returns the current time in Unix epoch seconds. *By convention, the input parameter should be 0, but it is ignored. More Info
IF you are looking to execute CURRENT_TIME during a GSQL query:
You could use now()
function which returns the current time in DATETIME type. More Info