问题描述
我正在使用 Column(
modifier = Modifier
.fillMaxWidth()
.padding(16.dp)
// This `Column` animates its size when its content changes.
.animateContentSize()
) {
Row {
Icon(
imageVector = Icons.Default.Info,contentDescription = null
)
// ...
}
if (expanded) { // If the expanded value is changed then the animateContentSize will be triggered
Spacer(modifier = Modifier.height(8.dp))
Text(
text = stringResource(R.string.lorem_ipsum),textAlign = TextAlign.Justify
)
}
}
和 data <- data.frame(PersonID = c(1,1,2,2),TransID = c(1,3,1),TransType = c("open","withdraw","close","close"))
result <- split.data.frame(data,data$PersonID)
result
,我想从 node.js 调用 postgreSQL 函数,最好使用 knex。
我用过
knex
但我收到错误:
pg
我也尝试了其他几种黑客,但我无法这样做。 我的sql查询是
const knex = require("knex");
exports.getAll = async (companyID) => {
console.log("from here",companyID);
const getAll = await databaseProvider
.knex("attendance")
.select(knex.raw("select * from get_allFromCompany('?')",[companyID]));
return databaseProvider.executeQuery(getAll).then((result) => {
return result.rows;
});
有人可以帮我吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)