sql2pb
sql2pb copied to clipboard
Generates a protobuf file from your mysql database
no compatible protobuf type found for `json`
``` //-----------------------address----------------------- rpc AddAddres(AddAddresReq) returns (AddAddresResp); rpc UpdateAddres(UpdateAddresReq) returns (UpdateAddresResp);``` 表名Address ,生成的方法里面少了个s
2022/04/06 15:01:37 no compatible protobuf type found for `bit`
是否可以加一个参数,用来过虑某些字段,如created_at,updated_at,deleted_at......谢谢
//--------------------------------鑺傜偣琛?------------------------------- message SysAuthRule { int64 id = 1; //id SysAuthRuleType type = 2; //menu涓鸿彍鍗?file涓烘潈闄愯妭鐐? int64 pid = 3; //鐖禝D string name = 4; //瑙勫垯鍚嶇О string title = 5; //瑙勫垯鍚嶇О string...
message SearchWaxAccountGroupReq { int64 page = 1; //page int64 pageSize = 2; //pageSize int64 id = 3; //id int64 pid = 4; //娓告垙ID string name = 5; //缁勫悕 string rules...