Read Data Fr Databases: Methods Available to a Cursor (#38720)
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
9901cc49de
commit
2dd9798143
@ -14,13 +14,12 @@ videoId: MtgXS1MofRw
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
question:
|
question:
|
||||||
text: Question
|
text: What method does a <code>Cursor</code> instance have and what does it allow?
|
||||||
answers:
|
answers:
|
||||||
- one
|
- The <code>Cursor</code> instance has a <code>.Run()</code> method which allows you to run SQL queries.
|
||||||
- two
|
- The <code>Cursor</code> instance has a <code>.Select()</code> method which allows you to select records.
|
||||||
- three
|
- The <code>Cursor</code> instance has a <code>.Execute()</code> method which will receive SQL parameters to run against the database.
|
||||||
solution: 3
|
solution: 3
|
||||||
```
|
```
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user