User lowercase json keys for before+after

This commit is contained in:
Tobie Morgan Hitchcock 2016-10-29 12:45:02 +01:00
parent c08e9d69c9
commit 8eaa4e6eda

View file

@ -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(),
}
}