1.1 KiB
1.1 KiB
id, title, challengeType, videoId, bilibiliIds, dashedName
id | title | challengeType | videoId | bilibiliIds | dashedName | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
5e9a093a74c4063ca6f7c163 | 从数据库中读取数据 | 11 | MtgXS1MofRw |
|
reading-data-from-databases |
--description--
在视频中我们使用的编辑器工具是在 notebook.ai 这个平台,你也可以选择用其他的平台,比如说 Google Colab 也是一个不错的选择。
以下有更多的资料
--question--
--text--
Cursor
实例中都有什么方法,这些方法能用来做什么?
--answers--
Cursor
实例中有方法 .run()
,它允许你运行 SQL 查询语句。
Cursor
实例中有方法 .select()
,它允许你选择记录。
Cursor
实例有方法 .execute()
, 它能够接收在数据库中运行的 SQL 参数。
--video-solution--
3