@@ -306,6 +306,11 @@ test('typegen: typescript', async () => {
306
306
details: string | null
307
307
id: number | null
308
308
"user-id": number | null
309
+ get_todos_by_matview: {
310
+ details: string | null
311
+ id: number
312
+ "user-id": number
313
+ } | null
309
314
}
310
315
Relationships: [
311
316
{
@@ -628,6 +633,20 @@ test('typegen: typescript', async () => {
628
633
user_status: Database["public"]["Enums"]["user_status"] | null
629
634
}
630
635
}
636
+ get_todos_by_matview: {
637
+ Args: { "": unknown }
638
+ Returns: {
639
+ details: string | null
640
+ id: number
641
+ "user-id": number
642
+ }
643
+ SetofOptions: {
644
+ from: "todos_matview"
645
+ to: "todos"
646
+ isOneToOne: true
647
+ isSetofReturn: true
648
+ }
649
+ }
631
650
get_todos_from_user:
632
651
| {
633
652
Args: {
@@ -1347,6 +1366,11 @@ test('typegen w/ one-to-one relationships', async () => {
1347
1366
details: string | null
1348
1367
id: number | null
1349
1368
"user-id": number | null
1369
+ get_todos_by_matview: {
1370
+ details: string | null
1371
+ id: number
1372
+ "user-id": number
1373
+ } | null
1350
1374
}
1351
1375
Relationships: [
1352
1376
{
@@ -1681,6 +1705,20 @@ test('typegen w/ one-to-one relationships', async () => {
1681
1705
user_status: Database["public"]["Enums"]["user_status"] | null
1682
1706
}
1683
1707
}
1708
+ get_todos_by_matview: {
1709
+ Args: { "": unknown }
1710
+ Returns: {
1711
+ details: string | null
1712
+ id: number
1713
+ "user-id": number
1714
+ }
1715
+ SetofOptions: {
1716
+ from: "todos_matview"
1717
+ to: "todos"
1718
+ isOneToOne: true
1719
+ isSetofReturn: true
1720
+ }
1721
+ }
1684
1722
get_todos_from_user:
1685
1723
| {
1686
1724
Args: {
@@ -2400,6 +2438,11 @@ test('typegen: typescript w/ one-to-one relationships', async () => {
2400
2438
details: string | null
2401
2439
id: number | null
2402
2440
"user-id": number | null
2441
+ get_todos_by_matview: {
2442
+ details: string | null
2443
+ id: number
2444
+ "user-id": number
2445
+ } | null
2403
2446
}
2404
2447
Relationships: [
2405
2448
{
@@ -2734,6 +2777,20 @@ test('typegen: typescript w/ one-to-one relationships', async () => {
2734
2777
user_status: Database["public"]["Enums"]["user_status"] | null
2735
2778
}
2736
2779
}
2780
+ get_todos_by_matview: {
2781
+ Args: { "": unknown }
2782
+ Returns: {
2783
+ details: string | null
2784
+ id: number
2785
+ "user-id": number
2786
+ }
2787
+ SetofOptions: {
2788
+ from: "todos_matview"
2789
+ to: "todos"
2790
+ isOneToOne: true
2791
+ isSetofReturn: true
2792
+ }
2793
+ }
2737
2794
get_todos_from_user:
2738
2795
| {
2739
2796
Args: {
@@ -3458,6 +3515,11 @@ test('typegen: typescript w/ postgrestVersion', async () => {
3458
3515
details: string | null
3459
3516
id: number | null
3460
3517
"user-id": number | null
3518
+ get_todos_by_matview: {
3519
+ details: string | null
3520
+ id: number
3521
+ "user-id": number
3522
+ } | null
3461
3523
}
3462
3524
Relationships: [
3463
3525
{
@@ -3792,6 +3854,20 @@ test('typegen: typescript w/ postgrestVersion', async () => {
3792
3854
user_status: Database["public"]["Enums"]["user_status"] | null
3793
3855
}
3794
3856
}
3857
+ get_todos_by_matview: {
3858
+ Args: { "": unknown }
3859
+ Returns: {
3860
+ details: string | null
3861
+ id: number
3862
+ "user-id": number
3863
+ }
3864
+ SetofOptions: {
3865
+ from: "todos_matview"
3866
+ to: "todos"
3867
+ isOneToOne: true
3868
+ isSetofReturn: true
3869
+ }
3870
+ }
3795
3871
get_todos_from_user:
3796
3872
| {
3797
3873
Args: {
0 commit comments