3 days ago

which is the best format to store data in session

Posted 3 days ago by TarikAli

Hello , i have a lot of query results some from elequent and others from DB::Table . i want to store the results in sessions , but also when i retrive that data it's useful to filter it with collection helpers. so i store the data as it is from elequent or from DB:: without convert to json or array . do i have to format this data to json or array and decode it again and convert to collection to use collection helpers . is it wrong to store the data as it s without convert it. Thanks

Please sign in or create an account to participate in this conversation.