Ariel Mashraki
433609444c
dialect/sql/sqljson: support for order by value and length ( #3278 )
2023-01-26 12:20:31 +02:00
Ronen Lubin
5d4f02620d
dialect/sql/sqljson: add ValueIsNotNull predicate ( #3058 )
...
* dialect/sql: add json ValueIsNotNull predicate
* get rid of false positive dupl linter warning
* add json valueIsNotNull case to integration tests
* fix rejects
2022-11-02 11:18:15 +02:00
Ariel Mashraki
1bc4d48a51
dialect/sql: support scanning json fields ( #3022 )
2022-10-18 16:18:50 +03:00
Ariel Mashraki
cf137c665a
dialect/sql/sqljson: cast marshaled args as json ( #3008 )
2022-10-11 14:15:01 +03:00
Ariel Mashraki
13bf27bdd6
entc/gen: support Append<F> for JSON array fields ( #2975 )
2022-09-29 16:57:54 +03:00
Ariel Mashraki
eb4ea68356
dialect/sql/sqljson: add dialect-aware Append function
2022-09-29 08:54:44 +03:00
Ariel Mashraki
bedbea6665
dialct/sql/sqljson: fix HasKey implementation for SQLite ( #2887 )
2022-08-29 23:37:30 +03:00
Ariel Mashraki
79fe0ebcd6
sql/sqljson: add support for ValueIn/ValueNotIn ( #2882 )
2022-08-24 17:58:44 +03:00
Ariel Mashraki
2c63d1d70e
all: gofmt -w -r 'interface{} -> any' ( #2874 )
2022-08-19 18:23:04 +03:00
Ariel Mashraki
6793d74da7
schema/field: support for sensitive json fields ( #2701 )
...
Closed https://github.com/ent/ent/issues/2596
2022-06-29 11:27:10 +03:00
Ariel Mashraki
879bb8a905
entc/integration/json: add example for using interfaces in JSON fields ( #2497 )
2022-04-25 13:34:05 +03:00
Ariel Mashraki
77701d4db6
dialect/sql/sqljson: use the builtin string predciates in sqljson and improve tests
2021-11-16 10:07:34 +02:00
Ariel Mashraki
0dd7b0d7c3
dialect/sql/sqljson: fix sqlite haskey and add docs
2021-11-11 18:58:28 +02:00
Ariel Mashraki
3ba2b4e173
entc/integration/json: add tests for null literals
2021-11-10 17:24:51 +02:00
Ariel Mashraki
e687246f7a
schema/field: support default values for json and other
2021-10-21 22:57:04 +03:00
Gerardo Reyes
f9e2609e95
dialect/sql: add pattern matching predicates for json values
2021-08-02 17:33:13 +02:00
Ariel Mashraki
5eb5f501f0
entc/integration: add test case to check nillable values
2021-05-28 21:23:04 +03:00
Ariel Mashraki
dd4792f5b3
go: rename module from github.com/facebook/ent => entgo.io/ent ( #1226 )
2021-02-02 23:03:04 +02:00
Ariel Mashraki
0902673b40
entc/integ: add mariadb 10.2 to integrarion ( #1070 )
2020-12-21 09:12:13 +02:00
Ariel Mashraki
12b7549768
dialect/sql/schema: support mariadb json fields on migration ( #1011 )
2020-12-03 12:04:00 +02:00
Ciaran Liedeman
f655a59089
entc/integration: add postgres13 ( #961 )
2020-11-19 14:46:02 +02:00
Ariel Mashraki
9ea996593b
dialect/sql/sqljson: initial work for json_contains predicate ( #886 )
2020-10-26 14:11:22 +02:00
Ariel Mashraki
3578d73a8f
dialect/sql/sqljson: add length predicate ( #763 )
2020-09-15 11:53:54 +03:00
Ariel Mashraki
3cb7824561
json predicates ( #760 )
...
* dialect/sql/sqljson: cast postgres non-string values
* entc/integration: test json predicates
2020-09-14 12:37:57 +03:00
Ariel Mashraki
ce48ab99b8
dialect/sql/sqljson: move json predicates to a package ( #735 )
2020-09-07 21:22:12 +03:00
Ariel Mashraki
4cdfc7b57e
integration: test json predicates in ci ( #724 )
2020-09-03 11:15:31 +03:00
Ariel Mashraki
c907c8bbbc
integ: add sqlite to json tests ( #686 )
2020-08-23 20:51:19 +03:00
Ariel Mashraki
fd0a7f9f02
all: facebookincubator/ent => facebook/ent ( #660 )
...
ent repository is going to be migrated to facebook organization
2020-08-18 11:05:08 +03:00
Ariel Mashraki
abc4e63efb
ci: change postgres12 listen port ( #521 )
2020-06-03 15:33:56 +03:00
Ariel Mashraki
a9d787edf7
ent/integration: enable postgres in json tests
...
Summary: Pull Request resolved: https://github.com/facebookincubator/ent/pull/133
Reviewed By: alexsn
Differential Revision: D18227305
fbshipit-source-id: 33718041db52014f82dad831b5b609c511e0ba9a
2019-10-30 12:52:40 -07:00
Alex Snast
5c93cb823c
ent/circleci: store go tests metadata ( #63 )
...
Summary:
Pull Request resolved: https://github.com/facebookincubator/ent/pull/63
Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1527
See https://circleci.com/blog/level-up-go-test-with-gotestsum/ for more info
Reviewed By: a8m
Differential Revision: D17761305
fbshipit-source-id: d16050b4e1825e8c23be5cc0a4b0dff80936b86a
2019-10-05 10:15:47 -07:00
Ariel Mashraki
76f5b6ec5f
ent/schema: add config for customize schema options
...
Summary: Pull Request resolved: https://github.com/facebookincubator/ent/pull/40
Reviewed By: alexsn
Differential Revision: D17480104
fbshipit-source-id: 5223430e3b2223b8471a85bd1d85b445f23acfce
2019-09-22 01:38:07 -07:00
Ariel Mashraki
c3955a08f1
schema/field: json type support ( #38 )
...
Summary:
Pull Request resolved: https://github.com/facebookincubator/ent/pull/38
Only `IsNil` and `NotNil` predicates are supported this moment
Reviewed By: alexsn
Differential Revision: D17444976
fbshipit-source-id: 37336fa0bc7749af995933baee2e23bb7366dd78
2019-09-19 05:00:11 -07:00