add struct, slice, map scan for db