@@ -16,7 +16,7 @@ private module Aiomysql {
16
16
17
17
/**
18
18
* A `ConectionPool` is created when the result of `aiomysql.create_pool()` is awaited.
19
- * See https://aiomysql.readthedocs.io/en/stable/core .html#pool
19
+ * See https://aiomysql.readthedocs.io/en/stable/pool .html
20
20
*/
21
21
API:: Node connectionPool ( ) {
22
22
result = API:: moduleImport ( "aiomysql" ) .getMember ( "create_pool" ) .getReturn ( ) .getAwaited ( )
@@ -26,7 +26,7 @@ private module Aiomysql {
26
26
* A `Connection` is created when
27
27
* - the result of `aiomysql.connect()` is awaited.
28
28
* - the result of calling `aquire` on a `ConnectionPool` is awaited.
29
- * See https://aiomysql.readthedocs.io/en/stable/core .html#connection
29
+ * See https://aiomysql.readthedocs.io/en/stable/connection .html#connection
30
30
*/
31
31
API:: Node connection ( ) {
32
32
result = API:: moduleImport ( "aiomysql" ) .getMember ( "connect" ) .getReturn ( ) .getAwaited ( )
@@ -38,7 +38,7 @@ private module Aiomysql {
38
38
* A `Cursor` is created when
39
39
* - the result of calling `cursor` on a `ConnectionPool` is awaited.
40
40
* - the result of calling `cursor` on a `Connection` is awaited.
41
- * See https://aiomysql.readthedocs.io/en/stable/core .html#cursor
41
+ * See https://aiomysql.readthedocs.io/en/stable/cursors .html
42
42
*/
43
43
API:: Node cursor ( ) {
44
44
result = connectionPool ( ) .getMember ( "cursor" ) .getReturn ( ) .getAwaited ( )
@@ -48,7 +48,7 @@ private module Aiomysql {
48
48
49
49
/**
50
50
* Calling `execute` on a `Cursor` constructs a query.
51
- * See https://aiomysql.readthedocs.io/en/stable/core .html#aiomysql. Cursor.execute
51
+ * See https://aiomysql.readthedocs.io/en/stable/cursors .html#Cursor.execute
52
52
*/
53
53
class CursorExecuteCall extends SqlConstruction:: Range , DataFlow:: CallCfgNode {
54
54
CursorExecuteCall ( ) { this = cursor ( ) .getMember ( "execute" ) .getACall ( ) }
@@ -74,7 +74,7 @@ private module Aiomysql {
74
74
75
75
/**
76
76
* Awaiting the result of calling `execute` executes the query.
77
- * See https://aiomysql.readthedocs.io/en/stable/core .html#aiomysql. Cursor.execute
77
+ * See https://aiomysql.readthedocs.io/en/stable/cursors .html#Cursor.execute
78
78
*/
79
79
class AwaitedCursorExecuteCall extends SqlExecution:: Range {
80
80
DataFlow:: Node sql ;
0 commit comments