Implement create functionality for document which is similar to insert queries and consistent with create ones.