QUESTION #1
person := models.Person{}
Which uAdmin function will return the count of all records in a table?
QUESTION #2
wall := []models.Wall{}
Which uAdmin function will return the count of all records in a table?
QUESTION #3
monitor := []models.Monitor{}
Which uAdmin function will return the count of all records in a table?
QUESTION #4
animal := []models.Animal{}
Which uAdmin function will return the count of all records in a table?
QUESTION #5
student := []models.Student{}
Which uAdmin function will return the count of all records in a table that starts with letter j?
QUESTION #6
museum := []models.Museum{}
Which uAdmin function will return the count of all records in a table that ends with letter p?
QUESTION #7
decoration := []models.Decoration{}
Which uAdmin function will return the count of all records in a table that starts with letter b and ends with letter d?
QUESTION #8
place := []models.Place{}
Which uAdmin function will return the count of all records in a table that contains the word "trip"?
QUESTION #9
basement := []models.Basement{}
Field to Query: building_id
Parameter: building_id
Which uAdmin function will return the count of basements in a specific building?
QUESTION #10
city := []models.City{}
Field to Query: country_id
Parameter: country_id
Which uAdmin function will return the count of cities in a specific country?
QUESTION #11
motorcycle := []models.Motorcycle{}
Field to Query: vehicle_id
Parameter: vehicle
Which uAdmin function will return the count of motorcycles in a specific vehicle?
QUESTION #12
basketball := []models.Basketball{}
Field to Query: sport_id
Parameter: sport
Which uAdmin function will return the count of basketballs in a specific sport?
QUESTION #13
Suppose you have this model as shown below:
CUSTOMER | NAME | GENDER |
---|---|---|
John Doe | John Doe | Male |
Jane Doe | Jane Doe | Female |
Allen Dale | Allen Dale |
Code:
customer := models.Customer{}
gender := models.Gender{}
uadmin.Get(&gender, "id = ?", customer.GenderID)
Which uAdmin function will return the count of all customers with a gender value in a table?
QUESTION #14
Suppose you have this model as shown below:
MOUNTAIN | NAME | CONTINENT |
---|---|---|
Mount Everest | Mount Everest | Asia |
Mount Olympus | Mount Olympus | |
Mount Elbrus | Mount Elbrus | Europe |
Code:
mountain := models.Mountain{}
continent := models.Continent{}
uadmin.Get(&continent, "id = ?", mountain.ContinentID)
Which uAdmin function will return the count of all mountains with a continent value in a table?
QUESTION #15
Suppose you have this model as shown below:
SKYSCRAPER | NAME | COUNTRY |
---|---|---|
Burj Khalifa | Burj Khalifa | United Arab Emirates |
X-Seed 4000 | X-Seed 4000 | |
Taipei 101 | Taipei 101 | Taiwan |
Code:
skyscraper := models.Skyscraper{}
country := models.Country{}
uadmin.Get(&country, "id = ?", skyscraper.CountryID)
Which uAdmin function will return the count of all skyscrapers with a country value in a table?