access mongo collection like array
pdo rewrite