Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
Implementation of BSON documents Consider the following conceptual schema of a sample database that contains information about a bank, the bank - accounts administered, the
Implementation of BSON documents Consider the following conceptual schema of a sample database that contains information about a bank, the bankaccounts administered, the owner's bank account, and the transactions made. Consider the following domain specification of an application and its conceptual schema: An airline publishes a PublishedFlights on a recurring basis. The flightNumber uniquely identifies each PublishedFlight for an Airline. Each PublishedFlight has one or more FlightDetail, each from some origin Airport to a destination Airport. An airport has an IATA International Air Transport Association code and a name. For example, the name of Singapore's airport is Singapore Changi Airport, and its IATA code is SIN. tableIATA Code,Airport nameSINSingapore Changi AirportHLPHalim Perdana Kusuma Airport JakartaCKGChongqing Jiangbei International AirportKULKuala Lumpur International AirportDMKDon Muang AirportSTVSurat International Airport The rest of the values for the other attributes are up to you but must be sensible List the contents of the collection created in step and loaded with the documents in a step in a pretty format.
Implementation of BSON documents
Consider the following conceptual schema of a sample database that contains information about a bank, the bankaccounts administered, the owner's bank account, and the transactions made.
Consider the following domain specification of an application and its conceptual schema:
An airline publishes a PublishedFlights on a recurring basis. The flightNumber uniquely identifies each PublishedFlight for an Airline. Each PublishedFlight has one or more FlightDetail, each from some origin Airport to a destination Airport.
An airport has an IATA International Air Transport Association code and a name. For example, the name of Singapore's airport is Singapore Changi Airport, and its IATA code is SIN.
tableIATA Code,Airport nameSINSingapore Changi AirportHLPHalim Perdana Kusuma Airport JakartaCKGChongqing Jiangbei International AirportKULKuala Lumpur International AirportDMKDon Muang AirportSTVSurat International Airport
The rest of the values for the other attributes are up to you but must be sensible
List the contents of the collection created in step and loaded with the documents in a step in a pretty format.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started