src-d / gitbase

SQL interface to git repositories, written in Go. https://docs.sourced.tech/gitbase
Apache License 2.0
2.07k stars 123 forks source link

New nodes #923

Closed erizocosmico closed 5 years ago

erizocosmico commented 5 years ago

Closes #921 closes #869

juanjux commented 5 years ago

Bookmarking this because it's great to see how to use the new API side by side with the old one :)

erizocosmico commented 5 years ago

@juanjux

TL;DR:

node.TransformUp(fn)

Becomes

plan.TransformUp(node, fn)

Same with all other transforms and expressions.