Data explorer is only for exploring data, not changing it.
If you need to change something with code, and don’t have access to run stuff in rails, then you need to use the API.
What problem is this solving? Do you really want to create a new group that has every user on the system on it? You can’t use @everyone or @tl0?