Skip to content

Commit

Permalink
chore: README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
efirs committed Jun 5, 2023
1 parent 893e4bc commit d243aa2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Tigris NoQL generation tool

This tool looks up for the Tigris API calls in the source code and
generates query filters and update mutations for the filter and update
functions passed as parameters to the Tigris APIs.

# Install

```shell
go install github.com/tigrisdata/tigrisgen@latest
```

# Setup

Include the following line in one of the files in the package
which contains Tigris API calls:

```shell
//go:generate tigrisgen
```

Now, when building you project, before calling `go build` you need to run `go generate ./...` to
generate query filters and update mutations.

# License

This software is licensed under the [Apache 2.0](LICENSE).

0 comments on commit d243aa2

Please sign in to comment.