You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you provide an example of these different primary keys? With callbacks available, essentially any naming you have can be created dynamically, regardless if the structure is only provided once.
When i use this line:
$this->_db->from($this->getTable(), $id)->fetch()
$id is the value of "primaryKey" column, the default is 'id', by:
lichtner\fluentpdo\src\Structure.php line 22 (Structure constructor).
This constructor activate when i set the fluentpdo object.
Can i set diffrent primaryKey OR Structure object per query?
I see the method getStructure on Query.php
I search something like setStructure method.
Thanks.
The text was updated successfully, but these errors were encountered: