Skip to content

Commit

Permalink
Add pgsql.query.raw
Browse files Browse the repository at this point in the history
Needed for top postgres queries
  • Loading branch information
monicasarbu committed Jun 10, 2014
1 parent d025d16 commit 5f0a0ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pgsql.go
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,7 @@ func receivedPgsqlRequest(msg *PgsqlMessage) {

trans.Pgsql = bson.M{
"query": query,
"query.raw": msg.Query,
"method": getQueryMethod(query),
}

Expand Down

0 comments on commit 5f0a0ef

Please sign in to comment.