Drop array in a struct field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 03:06 PM
Hi guys,
look my table definition
well, I need to remove 'med array' inside that 'equip' field.
have any idea ?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 08:30 PM
Hi William,
There is array_remove method that can help to remove the elements from an array. Here med array is an element in equip array.
If it not helpful, please share some sample data so that we can solve it together.
Reference: array_remove
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2024 01:26 PM
Hi Sampath,
In fact, I need to change this field in the table structure ... so, I need to apply an 'alter table' to remove the 'med' array from the 'equip' field.

