问题标签 [ballerina]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
arrays - Ballerina 将元素附加到数组的末尾
除了使用以下代码之外,我如何直接将元素附加到数组的末尾。
ballerina - Ballerina github4 api 中的“存储库”类型错误中不存在字段“许可证”
我正在尝试检索所有者存储库并获取它的分叉数。但是当我运行特定文件时,我收到以下错误:
错误:wso2/github4:0.9.10:GitClientError,消息:“存储库”类型上不存在字段“许可证”
下面显示的是我的代码:
任何帮助深表感谢!先感谢您!
arrays - ballerina - 检查数组中是否存在值
Ballerina 中是否有任何内置函数来检查数组中是否存在值?
我尝试了一个简单的函数,它遍历一个字符串数组并检查该值是否存在。
ballerina - Ballerina/gmail 包中消息资源中的原始属性
当我在ballerina/Gmail包的消息资源中使用'plainTextBodyPart'属性时,它会正确返回消息正文。但是如果我使用与上述相同资源的'raw'属性,它会返回一个空值。错误是什么我的代码?
ballerina - 我们如何从 HTTP 请求中解压 JSON 文件
[{"EmployeeID":1,"Name":"Alice","Age":20,"SSN":123456789}]
这是从 SQL 查询返回的 JSON 文件。我想从此 JSON 文件中提取名称
api - 如何通过 Ballerina 中的菜单驱动应用程序调用服务
我有一个文件main.bal
,其中包含打印菜单并处理用户输入。gmail_service.bal
文件包含hello
能够发送电子邮件的服务。
主文件
gmail_service.bal
当用户输入“1”时如何调用gmail服务?
ballerina - 访问 Ballerina 中 SQL 选择查询返回的数据
我对芭蕾舞演员很陌生。在我的项目中,我想访问 SQL 选择查询返回的数据?
我想做的是,
但它不起作用并引发运行时错误。
wso2 - 如何在芭蕾舞女演员中获取当前日期
有没有办法在芭蕾舞演员中获得当前日期?
ballerina - Ballerina Lang Package Build Failed
This issue raised when following the Ballerina Community Programme I tried to create calculator package and till build everthing nicely worked.
When execute ballerina build calculator command , below error pops at the terminal.
And the ballerina-internal.log reports this.