How to insert table into a table

Im creating inventory system. When player leaves, folder with his inventory saves to a data store. So it will look like this:

local inv = {
      ["Wood"] = 69
}

I cant find anything that helps me. My code is:

	for i,v in pairs(plr.inventory:GetChildren()) do
		table.insert(inv, v.Name)
		table.insert(inv[v.Name], v.Value) --Ik its a string..
	end

Whats the structure of the Inventory Folder look like?

local inv = {}
local items = plr.inventory:GetChildren()
for i = 1, #items do
    inv[items[i].Name] = items[i].Value --if its some kind of value object
end