User lowercase json keys for before+after
This commit is contained in:
parent
c08e9d69c9
commit
8eaa4e6eda
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ func (this *Doc) Yield(output sql.Token, fallback sql.Token) (res interface{}) {
|
|||
res = this.initial.Data()
|
||||
case sql.BOTH:
|
||||
res = map[string]interface{}{
|
||||
"After": this.current.Data(),
|
||||
"Before": this.initial.Data(),
|
||||
"after": this.current.Data(),
|
||||
"fefore": this.initial.Data(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue