Commit Graph

38 Commits

Author SHA1 Message Date
pluveto
21afc43c31
Update model.md (#3339)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-03-07 10:30:48 +08:00
wdaglb
2ab4c091a1
Added Blueprint::comment() which you can set comment of table for migration. (#3310)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-02-25 10:56:23 +08:00
pandaLIU
390e70839e
Added method ConnectionInterface::run(Closure $closure) for hyperf/db. (#3066)
* Added method `ConnectionInterface::run(Closure $closure)` for `hyperf/db`

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-07 15:50:28 +08:00
李铭昕
a8ea182146 Merge branch 'master' into 2.1-merge 2020-12-14 19:25:02 +08:00
沈唁
0ff57ebcd9
Fix typo (#2916)
* Fix typo

* Update AbstractController
2020-12-03 15:58:26 +08:00
沈唁
ac470e13ee
Upgraded doctrine/dbal to ^3.0 (#2901)
* Upgraded doctrine/dbal to ^3.0

* Update Connector.php

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-01 14:55:18 +08:00
沈唁
59974284fb
Update migration.md (#2900)
* Update migration.md

* Update migration.md
2020-12-01 11:12:28 +08:00
沈唁
5ae997c464
Fixed namespace for documents. (#2869)
* Fix namespace

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-25 18:10:31 +08:00
阿祥
867c5c9fc7
fix typo (#2843)
Co-authored-by: 池安祥 <chianxiang@bornmega.com>
2020-11-21 10:15:35 +08:00
djunny
f0a8d72d36
Added method getCacheTTL for CacheableInterface which can control cache time each models. (#2682)
Co-authored-by: dj <github@djunny.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-10-21 10:02:30 +08:00
李铭昕
13d0fb58cc
v2.0.14 (#2631)
* v2.0.14

* Update translation

Co-authored-by: huangzhhui <huangzhwork@gmail.com>
2020-10-12 10:40:47 +08:00
李铭昕
aaaef039d6
Optimized documents. (#2610) 2020-10-05 08:31:32 +08:00
李铭昕
48ca8d1616 Format composer.json 2020-10-04 18:42:03 +08:00
李铭昕
895ba2ade7 Merge branch 'master' into pr/1969 2020-10-04 18:27:39 +08:00
李铭昕
c092a97769
Update model-cache.md (#2552) 2020-09-20 10:24:52 +08:00
nfangxu
86c6e0d217 docs: 更新 transformer 为 resource 2020-09-18 17:53:35 +08:00
李铭昕
ed517bce08
Added optional visitor ModelRewriteGetterSetterVisitor for gen:model. (#2463)
* Added AbstractVisitor.

* Added BetterReflectionManager.

* Support getter and setter.

* Update document.
2020-09-09 14:40:23 +08:00
ninvfeng
8a5e422a97
Fixed typo (#2453) 2020-09-07 14:44:11 +08:00
nfangxu
d120b48364 docs: 添加 transformer 相关文档 2020-09-07 10:07:02 +08:00
huangzhhui
380cf96c3e Merge remote-tracking branch 'upstream/master' into pr/1969 2020-09-07 00:34:42 +08:00
李铭昕
cb6640215f
Optimized error message when does not set the value of @var for @Inject. (#2429) 2020-09-03 18:22:50 +08:00
李铭昕
e919359448
Fixed enable-event-dispatcher does not exists. (#2426)
* Added doc for how to rewrite cast.

* Update CHANGELOG-2.0.md

* Update quick-start.md
2020-09-03 17:27:40 +08:00
李铭昕
7cf763717c
v2.0.9 (#2385)
Co-authored-by: huangzhhui <huangzhwork@gmail.com>
2020-08-31 13:40:33 +08:00
Fangx
200fd22cd5
Update document (#2372)
* fix: 更新文档示例代码

* Update quick-start.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-08-28 18:13:38 +08:00
nfangxu
d46d58d36b docs: update transformer docs 2020-08-10 10:00:27 +08:00
李铭昕
9beaa82535 Optimized code for resource. 2020-08-07 13:33:45 +08:00
李铭昕
8703b9fead Format code. 2020-08-07 09:47:28 +08:00
李铭昕
9925bb25ae Merge branch 'master' into pr/1969 2020-08-07 09:40:38 +08:00
沈唁
50cd5ebfe6
fix typo (#2238) 2020-08-03 18:32:06 +08:00
motian
bbf8ae4793
[FEATURE] Added ModelRewriteTimestampsVisitor (#2174)
Added `ModelRewriteTimestampsVisitor` to rewrite `$timestamps` based on `created_at` and `updated_at`

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-24 13:43:43 +08:00
motian
864a9ba2be
Added ModelRewriteSoftDeletesVisitor to insert or remove SoftDeletes based on deleted_at (#2175)
* Added ModelRewriteSoftDeletesVisitor

* Added `ModelRewriteSoftDeletesVisitor` to insert or remove `SoftDeletes` based on `deleted_at` for Model.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-24 13:28:39 +08:00
motian
11e6447886
[FEATURE] Added ModelRewriteKeyNameVisitor (#2176)
Added `ModelRewriteKeyInfoVisitor` to rewrite `$incrementing` `$primaryKey` and `$keyType` for Model.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-24 12:28:31 +08:00
李铭昕
84a817b3d7 Added test cases for morphTo. 2020-07-07 10:02:50 +08:00
李铭昕
9651428dcf Added document. 2020-07-05 15:49:55 +08:00
motian
1040082e12
Update model.md (#2040)
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-04 09:38:37 +08:00
hanicc
66ce4ae3e6
Added ScanFileDriver to watch file changes (#2042)
Co-authored-by: hanicc <hanicc.qq.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-03 17:29:22 +08:00
nfangxu
f834a1511a add hyperf/resource 2020-06-23 13:57:46 +08:00
huangzhhui
80375f904f Do not separate the docs folders by version, use git branch to distinguish the difference versions docs 2020-06-11 13:55:15 +08:00