File tree Expand file tree Collapse file tree 19 files changed +673
-757
lines changed Expand file tree Collapse file tree 19 files changed +673
-757
lines changed Original file line number Diff line number Diff line change @@ -2179,10 +2179,6 @@ export async function generateModelString(
2179
2179
return instance
2180
2180
}
2181
2181
2182
- static async rawQuery(rawQuery: string): Promise<any> {
2183
- return await sql\`\${rawQuery}\`\.execute(DB.instance)
2184
- }
2185
-
2186
2182
toJSON(): Partial<${ modelName } JsonResponse> {
2187
2183
const output: Partial<${ modelName } JsonResponse> = ${ jsonFields }
2188
2184
Original file line number Diff line number Diff line change @@ -1424,10 +1424,6 @@ export class AccessTokenModel {
1424
1424
return instance
1425
1425
}
1426
1426
1427
- static async rawQuery ( rawQuery : string ) : Promise < any > {
1428
- return await sql `${ rawQuery } ` . execute ( DB . instance )
1429
- }
1430
-
1431
1427
toJSON ( ) : Partial < AccessTokenJsonResponse > {
1432
1428
const output : Partial < AccessTokenJsonResponse > = {
1433
1429
Original file line number Diff line number Diff line change @@ -1513,10 +1513,6 @@ export class ActivityModel {
1513
1513
return instance
1514
1514
}
1515
1515
1516
- static async rawQuery ( rawQuery : string ) : Promise < any > {
1517
- return await sql `${ rawQuery } ` . execute ( DB . instance )
1518
- }
1519
-
1520
1516
toJSON ( ) : Partial < ActivityJsonResponse > {
1521
1517
const output : Partial < ActivityJsonResponse > = {
1522
1518
Original file line number Diff line number Diff line change @@ -1489,10 +1489,6 @@ export class DeploymentModel {
1489
1489
return instance
1490
1490
}
1491
1491
1492
- static async rawQuery ( rawQuery : string ) : Promise < any > {
1493
- return await sql `${ rawQuery } ` . execute ( DB . instance )
1494
- }
1495
-
1496
1492
toJSON ( ) : Partial < DeploymentJsonResponse > {
1497
1493
const output : Partial < DeploymentJsonResponse > = {
1498
1494
Original file line number Diff line number Diff line change @@ -1410,10 +1410,6 @@ export class ErrorModel {
1410
1410
return instance
1411
1411
}
1412
1412
1413
- static async rawQuery ( rawQuery : string ) : Promise < any > {
1414
- return await sql `${ rawQuery } ` . execute ( DB . instance )
1415
- }
1416
-
1417
1413
toJSON ( ) : Partial < ErrorJsonResponse > {
1418
1414
const output : Partial < ErrorJsonResponse > = {
1419
1415
Original file line number Diff line number Diff line change @@ -1410,10 +1410,6 @@ export class FailedJobModel {
1410
1410
return instance
1411
1411
}
1412
1412
1413
- static async rawQuery ( rawQuery : string ) : Promise < any > {
1414
- return await sql `${ rawQuery } ` . execute ( DB . instance )
1415
- }
1416
-
1417
1413
toJSON ( ) : Partial < FailedJobJsonResponse > {
1418
1414
const output : Partial < FailedJobJsonResponse > = {
1419
1415
Original file line number Diff line number Diff line change @@ -1410,10 +1410,6 @@ export class JobModel {
1410
1410
return instance
1411
1411
}
1412
1412
1413
- static async rawQuery ( rawQuery : string ) : Promise < any > {
1414
- return await sql `${ rawQuery } ` . execute ( DB . instance )
1415
- }
1416
-
1417
1413
toJSON ( ) : Partial < JobJsonResponse > {
1418
1414
const output : Partial < JobJsonResponse > = {
1419
1415
Original file line number Diff line number Diff line change @@ -1515,10 +1515,6 @@ export class PaymentMethodModel {
1515
1515
return instance
1516
1516
}
1517
1517
1518
- static async rawQuery ( rawQuery : string ) : Promise < any > {
1519
- return await sql `${ rawQuery } ` . execute ( DB . instance )
1520
- }
1521
-
1522
1518
toJSON ( ) : Partial < PaymentMethodJsonResponse > {
1523
1519
const output : Partial < PaymentMethodJsonResponse > = {
1524
1520
Original file line number Diff line number Diff line change @@ -1390,10 +1390,6 @@ export class PostModel {
1390
1390
return instance
1391
1391
}
1392
1392
1393
- static async rawQuery ( rawQuery : string ) : Promise < any > {
1394
- return await sql `${ rawQuery } ` . execute ( DB . instance )
1395
- }
1396
-
1397
1393
toJSON ( ) : Partial < PostJsonResponse > {
1398
1394
const output : Partial < PostJsonResponse > = {
1399
1395
Original file line number Diff line number Diff line change @@ -1458,10 +1458,6 @@ export class ProductModel {
1458
1458
return instance
1459
1459
}
1460
1460
1461
- static async rawQuery ( rawQuery : string ) : Promise < any > {
1462
- return await sql `${ rawQuery } ` . execute ( DB . instance )
1463
- }
1464
-
1465
1461
toJSON ( ) : Partial < ProductJsonResponse > {
1466
1462
const output : Partial < ProductJsonResponse > = {
1467
1463
You can’t perform that action at this time.
0 commit comments