fluidex/dingir-exchange

bug: inconsistent type in sql (restapi/user select)

Closed this issue · 0 comments

lispc commented

Database(PgDatabaseError { severity: Error, code: "42883", message: "operator does not exist: bigint = text", detail: None, hint: Some("No operator matches the given name and argument types. You might need to add explicit type casts."), position: Some(Original(32)), where: None, schema: None, table: None, column: None, data_type: None, constraint: None, file: Some("parse_oper.c"), line: Some(722), routine: Some("op_error") })

https://github.com/Fluidex/dingir-exchange/blob/6f66dab490c2d038ebb429db0676af5e3425eb2d/src/restapi/user.rs#L49