我在Ballerina By Example - Tables文档的以下示例中遇到了一个问题。示例(和我的)中的代码如下: import ballerina/io;import ballerina/xmlutils;
}
function isHigherSalary(Employee emp) returns
当我尝试从server-script创建一个新记录时,我得到了'id' field value is required, but found 'null'。我还有其他具有相同结构的表(一个必需的int id自动增量),它们工作得很好。将0设置为该字段的默认值将生成Error: MySQL does not support zeros as the value of an auto-increm