You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ATM we can do it for insert, update and delete queries by doing following:
let caching_session:CachingSession;let res = model.insert().trace(true).execute(caching_session).await?;ifletSome(tracing_id) = res.tracing_id{let info = caching_session
.get_session().get_tracing_info(&tracing_id).await.unwrap();// log queryinfo!("Info: {:#?}", info.parameters);}
For read queries we return typed results, so we would need to update our CharybdisQuery execution logic to enable this. I will do it when I get a chance, so let's leave this thread open for now.
Additionally, in case of error you can also cover read query by printing CharybdisError as it always print static query that is generated at compile time, however it does not contain values.
Hey Goran!
There's any way to dump the raw query before it get executed for debugging purposes?
The text was updated successfully, but these errors were encountered: