DavadDi

Results 4 comments of DavadDi

公司:趣头条 网址:https://www.qutoutiao.net/ 地点:中国上海 联系方式:[email protected] 场景: 使用系统的基础故障测试

I compiled version 0.24 using source code on ubuntu22.04 version and it works fine. The 0.18 version installed using apt install bpfcc-tools has the above compile error.

在reserve(many)或者m2m关系中,因为不是one2one rel(fk)对应关系,所以要指定 fieldname+tablename+tablefiled, Role__Role__Id 第一个Role表示User对象中的Role []*Role, 第二个Role表示Role对象了,Id就表示Role对象中的Id字段了 例如官方的样例中: Post 和 Tag 是 ManyToMany 关系 设置 rel(m2m) 以后,ORM会自动创建中间表 type Post struct { Id int Title string User _User `orm:"rel(fk)"` Tags []_Tag...

``` kubectl-debug pod_name -- /bin/sh -c "sleep 2 && ls -hl" ``` It works. Because `sleep 2` extends the lifecycle of the container, giving the chance to the attach cmd...