db: handle parameter function pointers