-
**Describe the bug**
When applying scopes, if there is a join it is applied twice.
**Eloquent Query**
Please provide the complete eloquent query that caused the bug, for example:
```php
// Orde…
-
I have an issue with one of my models and using a relation.
User Model:
```
'use strict'
const Model = use('Model')
class User extends Model {
static boot () {
super.boot()
}
…
-
在Apollo里面配置忽略应用的redis健康检查,但是未生效,配置在应用bootstrap.yml里面就能生效。
配置apollo:
![image](https://user-images.githubusercontent.com/31386856/69594887-ac1cc100-1038-11ea-92b2-54777a388c44.png)
不生效
![image](http…
-
使用apollo配置dubbo的一些配置之后,现在本地的application.properties中只剩下了apollo相关的一些配置,
下面这些dubbo相关的配置都放在apollo上的dubbo namespace(类型:properties)里了:
```
dubbo.application.name = xxx
dubbo.scan.base-packages = xxx
…
-
```
$users = User::find();
$posts = Post::find();
$newPosts = [];
foreach($posts as $post) {
if (in_array([1, 2, 3], $post->id)) {
$newPosts[] = $post;
}
}
$user…
-
Hi.
I have A and B locations in "lat, lon" format and the distance between A and A1 in "meter, kilometer,...". How can i calculate A1, A2, B1, B2 locations in "lat, lon" format? ([image](https://i.st…
-
在application.yml 文件配置
apollo:
bootstrap:
enabled: true
namespaces: application
eagerLoad:
enabled: true
能访问其他属性 就是日志部分配置不能访问
-
## Package version
6.1.3
## Node.js and npm version
9.1.0 and 6.4.1
## Sample Code (to reproduce the issue)
Getting this error:
`E_CANNOT_OVERRIDE_RELATION: Trying to eagerload headChef rela…
fokoz updated
5 years ago
-
# Pre-loaded Relations
Pre-loaded relations (or Eager loading) are core features in other ORMs such as Active Record and Laravel Query Builder and the solution to one of the most common problems sl…
-
**apollo配置:**
```
apollo.bootstrap.enabled=true
apollo.bootstrap.namespaces=application,config-gateway-route,RD.config-jasypt,RD.config-eureka-client,RD.config-redis,RD.config-monitor
apollo.boots…