-
如果不是那使用rbatis 如何去加载.sql文件
-
It does not works on Timescale DB even though choose PgDriver nor MysqlDriver.
--------------------------------------------------------------------------------------------------------
//#[macro_…
-
DDL:
`create table test_table (id varchar(50) not null, content bytea, primary key (id))`
代码:
```
let execute_sql="insert into test_table(id, content) values('A', ?)";
match rbatis.exec(execute…
-
怎么判断select结果是no record found?
`pub async fn select_todo_by_id(id: u64) -> Result {
let rs = RB
.query_decode("select * from todolist where id = ?", vec![Value::U64(id)])
.…
kggg updated
11 months ago
-
可以加个通过ssh隧道创建Rbatis连接的方法吗?
-
您好,我尝试将 rbatis 从2.5.26 升级到更高的版本时,发现输出的SQL字段为空,入库失败。
环境:
```
Windows11
rust: 1.80.1
```
依赖:
```toml
rbs = { version = "4.5.18" }
rbatis = { version = "4.5.26" }
rbdc-mysql = { version = …
-
你好批量插入数据导致 panic IndexMap: key not found
环境:
Windows 11 和 Linux 20.04 Ubuntu
rust: 1.80.0
依赖:
rbs = { version = "4.5.18" }
rbatis = { version = "4.5.29" }
rbd…
-
My `MySQL` container time uses the host (ubuntu) time, which is `Asia/Shanghai (UTC+08:00)`. Based on this `MySQL`, I encountered two problems.
1. When I get the time from `MySQL`, the timestamp of t…
-
rbaits会认为mysql返回的datetime类型为utc+8,最后转换出来的时间戳会少8个小时。我该怎么配置让rbatis知道返回的时区是utc
-
rbs = "= 4.5.18"
rbatis = { version = "= 4.5.29"}
rbdc = "= 4.5.33"
rbdc-pg={version="= 4.5.11" }
database:pg 16
pub async fn test_like(content:&str) -> Result{
pool!().query_dec…