vercotux
vercotux
It appears the logic for this [already exists](https://github.com/fxpio/composer-asset-plugin/blob/v1.4.6/Repository/NpmRepository.php#L201). But why is it not working?
I am having a very similar issue. Despite `--skip-errors` the build terminates while satis is downloading resolved dependencies which I have no control over. Here are some examples: - `tar-based...
@samdark That doesn't work. You are assuming the PK name is 'id'. It is not, it can be anything. Can we please reopen this?
It would of course, but this problem is not unique to `findByCondition()`. Anytime you call `where()` you are overriding any previously set conditions (e.g. a soft delete condition set in...
@rob006 That is not true. There are countless situations where you do not know the PK name, such as creating a behavior or some other form of abstract component that...
@rob006 Oh really? Then what are findAll() and findOne() doing in BaseActiveRecord if they "don't know PK names"? I think you may be confused. When I say I "don't know"...
@rob006 I know you are talking about column names. I never mentioned any values. And of course you can't add conditions to any unknown columns. Nobody is trying to do...
@rob006 >You can't use indexBy() or orderBy() if you don't know column names. But you *can* know the PK name, so you *can* use these methods. You just need to...
@ptz-nerf That violates [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself). You have to keep repeating that same monstrosity everywhere.
@rob006 >Accessing PK when you don't know it's column name is not a common case. But if you really need it, you can create own helper for that. Then remove...