Describe the bug
Trying to set a model with compound primary-key (two or more columns) is not supported by Codeigniter Model and DB Builder
CodeIgniter 4 version
4.0.0.beta.3
Affected module(s)
Codeigniter Model and DB Builder
Expected behavior, and steps to reproduce if appropriate
- Define a compound primary-key table. (E.g. book_author which pk be: book_id,author_id)
- Set $this->primaryKey as array ['book_id', 'author_id']
- Try to get a row with $this->find()
- An Exception is thrown because 'array cannot be parsed as a string'
Context
- OS: Debian 9
- Web server: Apache 2
- PHP version 7.3
Describe the bug
Trying to set a model with compound primary-key (two or more columns) is not supported by Codeigniter Model and DB Builder
CodeIgniter 4 version
4.0.0.beta.3
Affected module(s)
Codeigniter Model and DB Builder
Expected behavior, and steps to reproduce if appropriate
Context