Ariel Mashraki
|
772b8a33f8
|
ent/field: add update_default option time field
Reviewed By: alexsn
Differential Revision: D17070907
fbshipit-source-id: 63c9ce75c58e524044c38f9461cb04e8e45c8017
|
2019-08-27 06:54:49 -07:00 |
|
Ariel Mashraki
|
bd07c86b60
|
all: add license header to all go files
Summary:
Used addlicense to generate this:
addlicense -c "Facebook Inc" -f license_header .
example was taken from: https://github.com/facebook/litho/blob/master/lib/soloader/BUCK
Reviewed By: alexsn
Differential Revision: D17070152
fbshipit-source-id: e7b91398d7f6181727be3400c1872ad5f28e38ed
|
2019-08-27 04:48:28 -07:00 |
|
Ariel Mashraki
|
52292557f6
|
entc/indexes: inverse only restriction applies only on O2O relation
Reviewed By: alexsn
Differential Revision: D17004823
fbshipit-source-id: 08b62960b447a157419dbeefd80ca1fcd29efd76
|
2019-08-25 06:41:14 -07:00 |
|
Alex Snast
|
e6a1333b9d
|
ent/schema: allow multi from edges on ent index
Summary: Pull Request resolved: https://github.com/facebookincubator/ent/pull/24
Reviewed By: a8m
Differential Revision: D16961315
fbshipit-source-id: cd7cd0fe2555dc1acc2ad7301d92b5b4cd042a39
|
2019-08-22 07:00:29 -07:00 |
|
Ariel Mashraki
|
eb3f140e67
|
entc/integration: add test for bool predicates
Summary: Pull Request resolved: https://github.com/facebookincubator/ent/pull/19
Reviewed By: alexsn
Differential Revision: D16917224
fbshipit-source-id: 6f4c388f504c61e5e25e3ca4a4b29a3d2736ab62
|
2019-08-20 08:13:40 -07:00 |
|
Alex Snast
|
85b29631a8
|
entc/schema: adding support for immutable fields (#1340)
Summary:
Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1340
Immutable fields are ent fields which cannot be updated
Reviewed By: a8m
Differential Revision: D16899625
fbshipit-source-id: ca482c66570e84ca9a1e0a03f729847561f2816b
|
2019-08-20 02:17:13 -07:00 |
|
Ariel Mashraki
|
e0e754717e
|
ent: change ent package name (#1338)
Summary:
Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1338
Pull Request resolved: https://github.com/facebookincubator/ent/pull/14
Reviewed By: alexsn
Differential Revision: D16890825
fbshipit-source-id: 656baaa73f5debab08c849b6b9639caeec2a8ef1
|
2019-08-19 09:32:14 -07:00 |
|
Alex Snast
|
a209a8395e
|
schema/field: Allow .Unique() definition on int / float fields
Reviewed By: a8m
Differential Revision: D16891088
fbshipit-source-id: b3d8375685b6d1957f678c2f9eb40e172891b255
|
2019-08-19 06:35:26 -07:00 |
|
Ariel Mashraki
|
079ba191e3
|
ent/field: add default value for time
Reviewed By: alexsn
Differential Revision: D16890453
fbshipit-source-id: 362ae9e9666c523bdcce16503441565b6279ff08
|
2019-08-19 04:21:25 -07:00 |
|
Ariel Mashraki
|
c16d3c8e25
|
ent/schema: explicitly defines non-null fields in schema
Reviewed By: alexsn
Differential Revision: D16791620
fbshipit-source-id: bad3ac7b2349d2f483c804eb3623c6dfa8b06313
|
2019-08-15 03:37:17 -07:00 |
|
Alex Snast
|
c0deedcf48
|
set default mysql table collation to utf8mb4_bin (#1295)
Summary:
Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1295
Pull Request resolved: https://github.com/facebookincubator/ent/pull/13
See [Case Sensitivity in String Searches](https://dev.mysql.com/doc/refman/5.7/en/case-sensitivity.html)
Reviewed By: a8m
Differential Revision: D16782072
fbshipit-source-id: f2a836e580757f0e956a444c3fdf93c502723098
|
2019-08-13 02:12:58 -07:00 |
|
Ariel Mashraki
|
2128fc2ca1
|
ent/index: add indexes api
Reviewed By: alexsn
Differential Revision: D16757699
fbshipit-source-id: 6a0027b1f855721f1415b8c72b5b1be8bc2ce902
|
2019-08-12 06:44:40 -07:00 |
|
Ariel Mashraki
|
619b63d5f7
|
ent/schema: rename nullable to nillable
Reviewed By: idoshveki
Differential Revision: D16687892
fbshipit-source-id: e8cfaaf1241e94c2de0a9fe9077326339d593716
|
2019-08-07 06:56:33 -07:00 |
|
Ariel Mashraki
|
25f5a2ef01
|
entc/predicate: add isnull/notnull predicates for codegen
Reviewed By: idoshveki
Differential Revision: D16687226
fbshipit-source-id: 14a39e066447dbf77413e5c7f7318a2d61bddd32
|
2019-08-07 06:56:32 -07:00 |
|
Ariel Mashraki
|
2fd1b728f3
|
ent: add AND operator for type predicates
Reviewed By: alexsn
Differential Revision: D16668249
fbshipit-source-id: 1554c3af9779fd551a90218c604d23b5bf8b8c6b
|
2019-08-06 14:41:56 -07:00 |
|
Ariel Mashraki
|
2cfda7564f
|
type safe predicates
Reviewed By: alexsn
Differential Revision: D16452717
fbshipit-source-id: da0a07275434d95d73a5a26830a2e5535c3abf47
|
2019-07-24 08:35:51 -07:00 |
|
Ariel Mashraki
|
1e47de5300
|
move lib/go/gremlin to ent/dialect (#1192)
Summary:
Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1192
Pull Request resolved: https://github.com/facebookincubator/ent/pull/11
Reviewed By: alexsn
Differential Revision: D16377224
fbshipit-source-id: 07ca7436eb9b64fbe2299568560b91466b2417ba
|
2019-07-20 08:27:06 -07:00 |
|
Ariel Mashraki
|
dbe2afb946
|
add Clone methods for query builders (#10)
Summary:
Pull Request resolved: https://github.com/facebookincubator/ent/pull/10
Closes T46957221
Reviewed By: idoshveki
Differential Revision: D16278371
fbshipit-source-id: ca2b038fccb8fca6a7e8261444de27bdd63d0b00
|
2019-07-16 03:32:25 -07:00 |
|
Ariel Mashraki
|
b5cdb810b8
|
dialect/sql/schema: universl id allocation support
Summary: Pull Request resolved: https://github.com/facebookincubator/ent/pull/9
Reviewed By: alexsn
Differential Revision: D16252229
fbshipit-source-id: 795b6556d322e5c1ff5fb826c3b06ba5421ac857
|
2019-07-15 02:30:41 -07:00 |
|
Ariel Mashraki
|
4b176495e8
|
add support for all int types in schema
Summary: Pull Request resolved: https://github.com/facebookincubator/ent/pull/8
Reviewed By: alexsn
Differential Revision: D16131257
fbshipit-source-id: 7b362740053c684f70ec69188b2fcee898605436
|
2019-07-10 09:24:31 -07:00 |
|
Ariel Mashraki
|
e8e96f014f
|
add charset support for fields
Summary: Basically, adding support for Hebrew characters.
Reviewed By: alexsn
Differential Revision: D16068537
fbshipit-source-id: 4e934da5ea97c9e804317f746556ab1d51faebcc
|
2019-07-01 08:10:24 -07:00 |
|
Ariel Mashraki
|
37ae2b744e
|
add offset step to query builder (#1049)
Summary:
Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1049
Useful for real paging
Reviewed By: noamsch
Differential Revision: D16003607
fbshipit-source-id: 6a85d0e3d71a2582bc3cd8f1d66748dda4f2a10e
|
2019-06-26 01:43:59 -07:00 |
|
facebook-github-bot
|
267e3c15bd
|
Initial commit
fbshipit-source-id: c79a38536e3c128dce1b2948615b72ec9779ed22
|
2019-06-16 04:37:51 -07:00 |
|