5. Echo - Query And ORM

5. Echo - Query And ORM

Professional Development

11 Qs

quiz-placeholder

Similar activities

aXQtMjktMTEtMjAyMg==

aXQtMjktMTEtMjAyMg==

Professional Development

10 Qs

CHFI-Post-Assessment

CHFI-Post-Assessment

Professional Development

10 Qs

Family Quizz

Family Quizz

5th Grade - Professional Development

15 Qs

GEMATMW - Cryptography

GEMATMW - Cryptography

University - Professional Development

16 Qs

Cycle 4: Session 8 Review.

Cycle 4: Session 8 Review.

Professional Development

12 Qs

Jarkom

Jarkom

1st Grade - Professional Development

11 Qs

M365 Security Pillar 1 (Identity & Access Management)

M365 Security Pillar 1 (Identity & Access Management)

Professional Development

10 Qs

Cloud computing

Cloud computing

Professional Development

10 Qs

5. Echo - Query And ORM

5. Echo - Query And ORM

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Uvuvwevwevwe Ossas

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What's the differences between using "Find" and "First" in GORM?

Both are getting data from databases, but "First" only take a partial data

"Find" only used to get data that available, "First" only get the first data available

"Find" search for a data, and "First" shows all data

Both does the same, to find a data

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

on dto, user_request.go used to...

maintain the request of client so server can give the correct data

creating a request of data from databases

maintain what does the dto only takes from the data of form body

let user request a data from dto

3.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

Media Image

What does the code on the left do?

To migrate a data from database into server

To migrate a models created into database tables

To automatically migrate every request/response into json values

to handle an error when migration is unhandled/faulty

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What does the code on the left do?

To save a data

To update a partial data/all data

To save a data cache

To update the databases state

5.

FILL IN THE BLANK QUESTION

1 min • 5 pts

Media Image

6.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Do you agree if we can also use query along with ORM?

Yes, because ORM is also not that perfect

No, we can't use query along with ORM because ORM muchly use Object

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

If one of the struct use `json:"-"`, will the data shown?

No, it won't

Yes, it will

Answer explanation

by adding `json:"-"` to the struct, it will make the struct not showed up on the data response, pretty cool isn't it?

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?