Ariel Mashraki b067d5d8b4 dialect/sql: increment and decrement columns using "add"
Summary:
Use case:

```
query, args := Update("data_packs").
  Add("bytes_left", count).
  Where(expr...).
  Query()
```

Reviewed By: alexsn

Differential Revision: D17257590

fbshipit-source-id: f27b4b388a711a16deb0c3b790e24957e044204d
2019-09-09 05:50:59 -07:00
2019-08-29 23:22:44 -07:00
2019-06-17 08:23:39 -07:00
2019-08-27 04:48:28 -07:00
2019-09-04 05:20:16 -07:00
2019-08-26 08:02:12 -07:00

ent - An Entity Framework For Go

Simple, yet powerful ORM for modeling and querying data.

  • Schema As Code - model any graph schema as Go objects.
  • Easily Traverse Any Graph - run queries, aggregations and traverse any graph structure easily.
  • Statically Typed And Explicit API - 100% statically typed and explicit API using code generation.
  • Multi Storage Driver - supports MySQL, SQLite and Gremlin.

Installation

go get github.com/facebookincubator/ent/entc/cmd/entc

Docs

The documentation for developing and using ent is avaliable at: https://entgo.io

Join the ent Community

See the CONTRIBUTING file for how to help out.

License

ent is licensed under Apache 2.0 as found in the LICENSE file.

Description
An entity framework for Go
Readme Apache-2.0 61 MiB
Languages
Go 100%