79534942

Date: 2025-03-25 21:52:42
Score: 1.5
Natty:
Report link

It seems that GridDB´s REST API doesn't currently support a key-value pair to set a column´s nullity, such as "nullable": False. A workaround for that is to use the query editor of GridDB´s management website to create the table, using a regular CREATE TABLE SQL statement:

Create table Orders (
Order_ID INTEGER NOT NULL PRIMARY KEY,
Order_Date TIMESTAMP NOT NULL,
Client_ID INTEGER NOT NULL,
Order_NF STRING NOT NULL)

Create Orders table

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Danilo Silva