Take database id as a client parameter