dataTable search for another table column in Laraship

Laraship QuestionsCategory: TechnicaldataTable search for another table column in Laraship
nao asked 6 years ago

I have a question.

Foe example, there are two tables.

table_a:

int id_a pirmary_key

string foo_name

table_b

int id_b primary_key (only inserting value of id_a)

If I show data table of table_b, and I set foo_name in getFilters() method, how do I code to search foo_name?

laraship Staff replied 6 years ago

Hello,
What is the relations between these tables ? , I mean laravel relations

nao replied 6 years ago

In my project, table_a is master table, and table_b has data to apply particular condition for data of table_a.
In table_b, to add data and to delete data are done by user operation of GUI.