We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example:
table1 id = 1 (PK) value = 'Something'
table2 id = 2 table1_id = 1 another_field='something else'
After Indexing table2 result will be
table2
id=2 table1_id='something' another_field='something else'
The text was updated successfully, but these errors were encountered:
In this example arise problem: what field from table1 to add to index if table1 have other fields, besides "value" field?
table1
Therefore for all related fields use indexing for "dynamic fields" (see in readme). For example:
'optional_attributes' => true
public function getOptionalAttributesAttribute() { return [ 'table1_id' => "something", ]; }
Sorry, something went wrong.
No branches or pull requests
For example:
table1
id = 1 (PK)
value = 'Something'
table2
id = 2
table1_id = 1
another_field='something else'
After Indexing
table2
result will beid=2
table1_id='something'
another_field='something else'
The text was updated successfully, but these errors were encountered: