input: Write a python function to insert and fetch data from TinyDB.
  assert insert_and_fetch_data('John', 30, 'New York') == [{'name': 'John', 'age': 30, 'city': 'New York'}]
  assert insert_and_fetch_data('Adam', 25, 'London') == [{'name': 'Adam', 'age': 25, 'city': 'London'}]
  assert insert_and_fetch_data('Alice', 28, 'Paris') == [{'name': 'Alice', 'age': 28, 'city': 'Paris'}]
output: from tinydb import TinyDB, Query
  
  def insert_and_fetch_data(name, age, city):
      db = TinyDB('db.json')
      db.insert({'name': name, 'age': age, 'city': city})
      User = Query()
      return db.search(User.name == name and User.age == age and User.city == city)