joist-core 2.3.0-next.84 → 2.3.0-next.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/query.cjs +23 -7
- package/build/query.cjs.map +1 -1
- package/build/query.d.cts +12 -3276
- package/build/query.d.cts.map +1 -1
- package/build/query.d.mts +12 -3276
- package/build/query.d.mts.map +1 -1
- package/build/query.js +23 -7
- package/build/query.js.map +1 -1
- package/package.json +2 -2
package/build/query.d.cts
CHANGED
|
@@ -558,3282 +558,18 @@ declare function recursiveQuery<Name extends string, F extends QuerySource, S ex
|
|
|
558
558
|
*/
|
|
559
559
|
declare function sql<R = unknown>(strings: TemplateStringsArray, ...values: unknown[]): Expr<R, never>;
|
|
560
560
|
declare namespace sql {
|
|
561
|
-
var number:
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string, never>;
|
|
574
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
575
|
-
number: /*elided*/ any;
|
|
576
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
577
|
-
numberOrNull: /*elided*/ any;
|
|
578
|
-
string: /*elided*/ any;
|
|
579
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
580
|
-
stringOrNull: {
|
|
581
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
582
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
583
|
-
number: /*elided*/ any;
|
|
584
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
585
|
-
numberOrNull: /*elided*/ any;
|
|
586
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
587
|
-
string: /*elided*/ any;
|
|
588
|
-
stringOrNull: /*elided*/ any;
|
|
589
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
590
|
-
boolean: {
|
|
591
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
592
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
593
|
-
number: /*elided*/ any;
|
|
594
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
595
|
-
numberOrNull: /*elided*/ any;
|
|
596
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
597
|
-
string: /*elided*/ any;
|
|
598
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
599
|
-
stringOrNull: /*elided*/ any;
|
|
600
|
-
boolean: /*elided*/ any;
|
|
601
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
602
|
-
booleanOrNull: {
|
|
603
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
604
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
605
|
-
number: /*elided*/ any;
|
|
606
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
607
|
-
numberOrNull: /*elided*/ any;
|
|
608
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
609
|
-
string: /*elided*/ any;
|
|
610
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
611
|
-
stringOrNull: /*elided*/ any;
|
|
612
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
613
|
-
boolean: /*elided*/ any;
|
|
614
|
-
booleanOrNull: /*elided*/ any;
|
|
615
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
616
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
617
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
618
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
619
|
-
};
|
|
620
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
621
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
622
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
623
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
624
|
-
};
|
|
625
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
626
|
-
booleanOrNull: {
|
|
627
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
628
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
629
|
-
number: any;
|
|
630
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
631
|
-
numberOrNull: any;
|
|
632
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
633
|
-
string: any;
|
|
634
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
635
|
-
stringOrNull: any;
|
|
636
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
637
|
-
boolean: any;
|
|
638
|
-
booleanOrNull: any;
|
|
639
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
640
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
641
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
642
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
643
|
-
};
|
|
644
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
645
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
646
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
647
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
648
|
-
};
|
|
649
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
650
|
-
boolean: {
|
|
651
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
652
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
653
|
-
number: any;
|
|
654
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
655
|
-
numberOrNull: any;
|
|
656
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
657
|
-
string: any;
|
|
658
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
659
|
-
stringOrNull: any;
|
|
660
|
-
boolean: any;
|
|
661
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
662
|
-
booleanOrNull: {
|
|
663
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
664
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
665
|
-
number: any;
|
|
666
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
667
|
-
numberOrNull: any;
|
|
668
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
669
|
-
string: any;
|
|
670
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
671
|
-
stringOrNull: any;
|
|
672
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
673
|
-
boolean: any;
|
|
674
|
-
booleanOrNull: any;
|
|
675
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
676
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
677
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
678
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
679
|
-
};
|
|
680
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
681
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
682
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
683
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
684
|
-
};
|
|
685
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
686
|
-
booleanOrNull: {
|
|
687
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
688
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
689
|
-
number: any;
|
|
690
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
691
|
-
numberOrNull: any;
|
|
692
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
693
|
-
string: any;
|
|
694
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
695
|
-
stringOrNull: any;
|
|
696
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
697
|
-
boolean: any;
|
|
698
|
-
booleanOrNull: any;
|
|
699
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
700
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
701
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
702
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
703
|
-
};
|
|
704
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
705
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
706
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
707
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
708
|
-
};
|
|
709
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
710
|
-
stringOrNull: {
|
|
711
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
712
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
713
|
-
number: any;
|
|
714
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
715
|
-
numberOrNull: any;
|
|
716
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
717
|
-
string: any;
|
|
718
|
-
stringOrNull: any;
|
|
719
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
720
|
-
boolean: {
|
|
721
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
722
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
723
|
-
number: any;
|
|
724
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
725
|
-
numberOrNull: any;
|
|
726
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
727
|
-
string: any;
|
|
728
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
729
|
-
stringOrNull: any;
|
|
730
|
-
boolean: any;
|
|
731
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
732
|
-
booleanOrNull: {
|
|
733
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
734
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
735
|
-
number: any;
|
|
736
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
737
|
-
numberOrNull: any;
|
|
738
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
739
|
-
string: any;
|
|
740
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
741
|
-
stringOrNull: any;
|
|
742
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
743
|
-
boolean: any;
|
|
744
|
-
booleanOrNull: any;
|
|
745
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
746
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
747
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
748
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
749
|
-
};
|
|
750
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
751
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
752
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
753
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
754
|
-
};
|
|
755
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
756
|
-
booleanOrNull: {
|
|
757
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
758
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
759
|
-
number: any;
|
|
760
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
761
|
-
numberOrNull: any;
|
|
762
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
763
|
-
string: any;
|
|
764
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
765
|
-
stringOrNull: any;
|
|
766
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
767
|
-
boolean: any;
|
|
768
|
-
booleanOrNull: any;
|
|
769
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
770
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
771
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
772
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
773
|
-
};
|
|
774
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
775
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
776
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
777
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
778
|
-
};
|
|
779
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
780
|
-
boolean: {
|
|
781
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
782
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
783
|
-
number: any;
|
|
784
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
785
|
-
numberOrNull: any;
|
|
786
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
787
|
-
string: any;
|
|
788
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
789
|
-
stringOrNull: any;
|
|
790
|
-
boolean: any;
|
|
791
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
792
|
-
booleanOrNull: {
|
|
793
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
794
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
795
|
-
number: any;
|
|
796
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
797
|
-
numberOrNull: any;
|
|
798
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
799
|
-
string: any;
|
|
800
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
801
|
-
stringOrNull: any;
|
|
802
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
803
|
-
boolean: any;
|
|
804
|
-
booleanOrNull: any;
|
|
805
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
806
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
807
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
808
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
809
|
-
};
|
|
810
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
811
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
812
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
813
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
814
|
-
};
|
|
815
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
816
|
-
booleanOrNull: {
|
|
817
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
818
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
819
|
-
number: any;
|
|
820
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
821
|
-
numberOrNull: any;
|
|
822
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
823
|
-
string: any;
|
|
824
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
825
|
-
stringOrNull: any;
|
|
826
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
827
|
-
boolean: any;
|
|
828
|
-
booleanOrNull: any;
|
|
829
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
830
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
831
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
832
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
833
|
-
};
|
|
834
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
835
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
836
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
837
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
838
|
-
};
|
|
839
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
840
|
-
string: {
|
|
841
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string, never>;
|
|
842
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
843
|
-
number: any;
|
|
844
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
845
|
-
numberOrNull: any;
|
|
846
|
-
string: any;
|
|
847
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
848
|
-
stringOrNull: {
|
|
849
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
850
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
851
|
-
number: any;
|
|
852
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
853
|
-
numberOrNull: any;
|
|
854
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
855
|
-
string: any;
|
|
856
|
-
stringOrNull: any;
|
|
857
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
858
|
-
boolean: {
|
|
859
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
860
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
861
|
-
number: any;
|
|
862
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
863
|
-
numberOrNull: any;
|
|
864
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
865
|
-
string: any;
|
|
866
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
867
|
-
stringOrNull: any;
|
|
868
|
-
boolean: any;
|
|
869
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
870
|
-
booleanOrNull: {
|
|
871
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
872
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
873
|
-
number: any;
|
|
874
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
875
|
-
numberOrNull: any;
|
|
876
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
877
|
-
string: any;
|
|
878
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
879
|
-
stringOrNull: any;
|
|
880
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
881
|
-
boolean: any;
|
|
882
|
-
booleanOrNull: any;
|
|
883
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
884
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
885
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
886
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
887
|
-
};
|
|
888
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
889
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
890
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
891
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
892
|
-
};
|
|
893
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
894
|
-
booleanOrNull: {
|
|
895
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
896
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
897
|
-
number: any;
|
|
898
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
899
|
-
numberOrNull: any;
|
|
900
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
901
|
-
string: any;
|
|
902
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
903
|
-
stringOrNull: any;
|
|
904
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
905
|
-
boolean: any;
|
|
906
|
-
booleanOrNull: any;
|
|
907
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
908
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
909
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
910
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
911
|
-
};
|
|
912
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
913
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
914
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
915
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
916
|
-
};
|
|
917
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
918
|
-
boolean: {
|
|
919
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
920
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
921
|
-
number: any;
|
|
922
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
923
|
-
numberOrNull: any;
|
|
924
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
925
|
-
string: any;
|
|
926
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
927
|
-
stringOrNull: any;
|
|
928
|
-
boolean: any;
|
|
929
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
930
|
-
booleanOrNull: {
|
|
931
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
932
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
933
|
-
number: any;
|
|
934
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
935
|
-
numberOrNull: any;
|
|
936
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
937
|
-
string: any;
|
|
938
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
939
|
-
stringOrNull: any;
|
|
940
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
941
|
-
boolean: any;
|
|
942
|
-
booleanOrNull: any;
|
|
943
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
944
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
945
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
946
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
947
|
-
};
|
|
948
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
949
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
950
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
951
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
952
|
-
};
|
|
953
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
954
|
-
booleanOrNull: {
|
|
955
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
956
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
957
|
-
number: any;
|
|
958
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
959
|
-
numberOrNull: any;
|
|
960
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
961
|
-
string: any;
|
|
962
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
963
|
-
stringOrNull: any;
|
|
964
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
965
|
-
boolean: any;
|
|
966
|
-
booleanOrNull: any;
|
|
967
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
968
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
969
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
970
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
971
|
-
};
|
|
972
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
973
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
974
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
975
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
976
|
-
};
|
|
977
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
978
|
-
stringOrNull: {
|
|
979
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
980
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
981
|
-
number: any;
|
|
982
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
983
|
-
numberOrNull: any;
|
|
984
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
985
|
-
string: any;
|
|
986
|
-
stringOrNull: any;
|
|
987
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
988
|
-
boolean: {
|
|
989
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
990
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
991
|
-
number: any;
|
|
992
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
993
|
-
numberOrNull: any;
|
|
994
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
995
|
-
string: any;
|
|
996
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
997
|
-
stringOrNull: any;
|
|
998
|
-
boolean: any;
|
|
999
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1000
|
-
booleanOrNull: {
|
|
1001
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1002
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1003
|
-
number: any;
|
|
1004
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1005
|
-
numberOrNull: any;
|
|
1006
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1007
|
-
string: any;
|
|
1008
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1009
|
-
stringOrNull: any;
|
|
1010
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1011
|
-
boolean: any;
|
|
1012
|
-
booleanOrNull: any;
|
|
1013
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1014
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1015
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1016
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1017
|
-
};
|
|
1018
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1019
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1020
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1021
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1022
|
-
};
|
|
1023
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1024
|
-
booleanOrNull: {
|
|
1025
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1026
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1027
|
-
number: any;
|
|
1028
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1029
|
-
numberOrNull: any;
|
|
1030
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1031
|
-
string: any;
|
|
1032
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1033
|
-
stringOrNull: any;
|
|
1034
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1035
|
-
boolean: any;
|
|
1036
|
-
booleanOrNull: any;
|
|
1037
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1038
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1039
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1040
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1041
|
-
};
|
|
1042
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1043
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1044
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1045
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1046
|
-
};
|
|
1047
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1048
|
-
boolean: {
|
|
1049
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
1050
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1051
|
-
number: any;
|
|
1052
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1053
|
-
numberOrNull: any;
|
|
1054
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1055
|
-
string: any;
|
|
1056
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1057
|
-
stringOrNull: any;
|
|
1058
|
-
boolean: any;
|
|
1059
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1060
|
-
booleanOrNull: {
|
|
1061
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1062
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1063
|
-
number: any;
|
|
1064
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1065
|
-
numberOrNull: any;
|
|
1066
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1067
|
-
string: any;
|
|
1068
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1069
|
-
stringOrNull: any;
|
|
1070
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1071
|
-
boolean: any;
|
|
1072
|
-
booleanOrNull: any;
|
|
1073
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1074
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1075
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1076
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1077
|
-
};
|
|
1078
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1079
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1080
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1081
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1082
|
-
};
|
|
1083
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1084
|
-
booleanOrNull: {
|
|
1085
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1086
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1087
|
-
number: any;
|
|
1088
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1089
|
-
numberOrNull: any;
|
|
1090
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1091
|
-
string: any;
|
|
1092
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1093
|
-
stringOrNull: any;
|
|
1094
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1095
|
-
boolean: any;
|
|
1096
|
-
booleanOrNull: any;
|
|
1097
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1098
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1099
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1100
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1101
|
-
};
|
|
1102
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1103
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1104
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1105
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1106
|
-
};
|
|
1107
|
-
var numberOrNull: {
|
|
1108
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<number | null, never>;
|
|
1109
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1110
|
-
number: {
|
|
1111
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<number, never>;
|
|
1112
|
-
number: /*elided*/ any;
|
|
1113
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1114
|
-
numberOrNull: /*elided*/ any;
|
|
1115
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1116
|
-
string: {
|
|
1117
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string, never>;
|
|
1118
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1119
|
-
number: /*elided*/ any;
|
|
1120
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1121
|
-
numberOrNull: /*elided*/ any;
|
|
1122
|
-
string: /*elided*/ any;
|
|
1123
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1124
|
-
stringOrNull: {
|
|
1125
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
1126
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1127
|
-
number: /*elided*/ any;
|
|
1128
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1129
|
-
numberOrNull: /*elided*/ any;
|
|
1130
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1131
|
-
string: /*elided*/ any;
|
|
1132
|
-
stringOrNull: /*elided*/ any;
|
|
1133
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1134
|
-
boolean: {
|
|
1135
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
1136
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1137
|
-
number: /*elided*/ any;
|
|
1138
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1139
|
-
numberOrNull: /*elided*/ any;
|
|
1140
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1141
|
-
string: /*elided*/ any;
|
|
1142
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1143
|
-
stringOrNull: /*elided*/ any;
|
|
1144
|
-
boolean: /*elided*/ any;
|
|
1145
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1146
|
-
booleanOrNull: {
|
|
1147
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1148
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1149
|
-
number: /*elided*/ any;
|
|
1150
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1151
|
-
numberOrNull: /*elided*/ any;
|
|
1152
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1153
|
-
string: /*elided*/ any;
|
|
1154
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1155
|
-
stringOrNull: /*elided*/ any;
|
|
1156
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1157
|
-
boolean: /*elided*/ any;
|
|
1158
|
-
booleanOrNull: /*elided*/ any;
|
|
1159
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1160
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1161
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1162
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1163
|
-
};
|
|
1164
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1165
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1166
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1167
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1168
|
-
};
|
|
1169
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1170
|
-
booleanOrNull: {
|
|
1171
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1172
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1173
|
-
number: any;
|
|
1174
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1175
|
-
numberOrNull: any;
|
|
1176
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1177
|
-
string: any;
|
|
1178
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1179
|
-
stringOrNull: any;
|
|
1180
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1181
|
-
boolean: any;
|
|
1182
|
-
booleanOrNull: any;
|
|
1183
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1184
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1185
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1186
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1187
|
-
};
|
|
1188
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1189
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1190
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1191
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1192
|
-
};
|
|
1193
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1194
|
-
boolean: {
|
|
1195
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
1196
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1197
|
-
number: any;
|
|
1198
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1199
|
-
numberOrNull: any;
|
|
1200
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1201
|
-
string: any;
|
|
1202
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1203
|
-
stringOrNull: any;
|
|
1204
|
-
boolean: any;
|
|
1205
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1206
|
-
booleanOrNull: {
|
|
1207
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1208
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1209
|
-
number: any;
|
|
1210
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1211
|
-
numberOrNull: any;
|
|
1212
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1213
|
-
string: any;
|
|
1214
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1215
|
-
stringOrNull: any;
|
|
1216
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1217
|
-
boolean: any;
|
|
1218
|
-
booleanOrNull: any;
|
|
1219
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1220
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1221
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1222
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1223
|
-
};
|
|
1224
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1225
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1226
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1227
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1228
|
-
};
|
|
1229
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1230
|
-
booleanOrNull: {
|
|
1231
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1232
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1233
|
-
number: any;
|
|
1234
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1235
|
-
numberOrNull: any;
|
|
1236
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1237
|
-
string: any;
|
|
1238
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1239
|
-
stringOrNull: any;
|
|
1240
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1241
|
-
boolean: any;
|
|
1242
|
-
booleanOrNull: any;
|
|
1243
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1244
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1245
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1246
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1247
|
-
};
|
|
1248
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1249
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1250
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1251
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1252
|
-
};
|
|
1253
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1254
|
-
stringOrNull: {
|
|
1255
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
1256
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1257
|
-
number: any;
|
|
1258
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1259
|
-
numberOrNull: any;
|
|
1260
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1261
|
-
string: any;
|
|
1262
|
-
stringOrNull: any;
|
|
1263
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1264
|
-
boolean: {
|
|
1265
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
1266
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1267
|
-
number: any;
|
|
1268
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1269
|
-
numberOrNull: any;
|
|
1270
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1271
|
-
string: any;
|
|
1272
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1273
|
-
stringOrNull: any;
|
|
1274
|
-
boolean: any;
|
|
1275
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1276
|
-
booleanOrNull: {
|
|
1277
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1278
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1279
|
-
number: any;
|
|
1280
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1281
|
-
numberOrNull: any;
|
|
1282
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1283
|
-
string: any;
|
|
1284
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1285
|
-
stringOrNull: any;
|
|
1286
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1287
|
-
boolean: any;
|
|
1288
|
-
booleanOrNull: any;
|
|
1289
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1290
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1291
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1292
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1293
|
-
};
|
|
1294
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1295
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1296
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1297
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1298
|
-
};
|
|
1299
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1300
|
-
booleanOrNull: {
|
|
1301
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1302
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1303
|
-
number: any;
|
|
1304
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1305
|
-
numberOrNull: any;
|
|
1306
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1307
|
-
string: any;
|
|
1308
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1309
|
-
stringOrNull: any;
|
|
1310
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1311
|
-
boolean: any;
|
|
1312
|
-
booleanOrNull: any;
|
|
1313
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1314
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1315
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1316
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1317
|
-
};
|
|
1318
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1319
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1320
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1321
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1322
|
-
};
|
|
1323
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1324
|
-
boolean: {
|
|
1325
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
1326
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1327
|
-
number: any;
|
|
1328
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1329
|
-
numberOrNull: any;
|
|
1330
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1331
|
-
string: any;
|
|
1332
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1333
|
-
stringOrNull: any;
|
|
1334
|
-
boolean: any;
|
|
1335
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1336
|
-
booleanOrNull: {
|
|
1337
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1338
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1339
|
-
number: any;
|
|
1340
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1341
|
-
numberOrNull: any;
|
|
1342
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1343
|
-
string: any;
|
|
1344
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1345
|
-
stringOrNull: any;
|
|
1346
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1347
|
-
boolean: any;
|
|
1348
|
-
booleanOrNull: any;
|
|
1349
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1350
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1351
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1352
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1353
|
-
};
|
|
1354
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1355
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1356
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1357
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1358
|
-
};
|
|
1359
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1360
|
-
booleanOrNull: {
|
|
1361
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1362
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1363
|
-
number: any;
|
|
1364
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1365
|
-
numberOrNull: any;
|
|
1366
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1367
|
-
string: any;
|
|
1368
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1369
|
-
stringOrNull: any;
|
|
1370
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1371
|
-
boolean: any;
|
|
1372
|
-
booleanOrNull: any;
|
|
1373
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1374
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1375
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1376
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1377
|
-
};
|
|
1378
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1379
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1380
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1381
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1382
|
-
};
|
|
1383
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1384
|
-
numberOrNull: /*elided*/ any;
|
|
1385
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1386
|
-
string: {
|
|
1387
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string, never>;
|
|
1388
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1389
|
-
number: any;
|
|
1390
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1391
|
-
numberOrNull: any;
|
|
1392
|
-
string: any;
|
|
1393
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1394
|
-
stringOrNull: {
|
|
1395
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
1396
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1397
|
-
number: any;
|
|
1398
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1399
|
-
numberOrNull: any;
|
|
1400
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1401
|
-
string: any;
|
|
1402
|
-
stringOrNull: any;
|
|
1403
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1404
|
-
boolean: {
|
|
1405
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
1406
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1407
|
-
number: any;
|
|
1408
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1409
|
-
numberOrNull: any;
|
|
1410
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1411
|
-
string: any;
|
|
1412
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1413
|
-
stringOrNull: any;
|
|
1414
|
-
boolean: any;
|
|
1415
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1416
|
-
booleanOrNull: {
|
|
1417
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1418
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1419
|
-
number: any;
|
|
1420
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1421
|
-
numberOrNull: any;
|
|
1422
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1423
|
-
string: any;
|
|
1424
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1425
|
-
stringOrNull: any;
|
|
1426
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1427
|
-
boolean: any;
|
|
1428
|
-
booleanOrNull: any;
|
|
1429
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1430
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1431
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1432
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1433
|
-
};
|
|
1434
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1435
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1436
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1437
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1438
|
-
};
|
|
1439
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1440
|
-
booleanOrNull: {
|
|
1441
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1442
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1443
|
-
number: any;
|
|
1444
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1445
|
-
numberOrNull: any;
|
|
1446
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1447
|
-
string: any;
|
|
1448
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1449
|
-
stringOrNull: any;
|
|
1450
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1451
|
-
boolean: any;
|
|
1452
|
-
booleanOrNull: any;
|
|
1453
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1454
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1455
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1456
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1457
|
-
};
|
|
1458
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1459
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1460
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1461
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1462
|
-
};
|
|
1463
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1464
|
-
boolean: {
|
|
1465
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
1466
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1467
|
-
number: any;
|
|
1468
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1469
|
-
numberOrNull: any;
|
|
1470
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1471
|
-
string: any;
|
|
1472
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1473
|
-
stringOrNull: any;
|
|
1474
|
-
boolean: any;
|
|
1475
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1476
|
-
booleanOrNull: {
|
|
1477
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1478
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1479
|
-
number: any;
|
|
1480
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1481
|
-
numberOrNull: any;
|
|
1482
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1483
|
-
string: any;
|
|
1484
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1485
|
-
stringOrNull: any;
|
|
1486
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1487
|
-
boolean: any;
|
|
1488
|
-
booleanOrNull: any;
|
|
1489
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1490
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1491
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1492
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1493
|
-
};
|
|
1494
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1495
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1496
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1497
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1498
|
-
};
|
|
1499
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1500
|
-
booleanOrNull: {
|
|
1501
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1502
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1503
|
-
number: any;
|
|
1504
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1505
|
-
numberOrNull: any;
|
|
1506
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1507
|
-
string: any;
|
|
1508
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1509
|
-
stringOrNull: any;
|
|
1510
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1511
|
-
boolean: any;
|
|
1512
|
-
booleanOrNull: any;
|
|
1513
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1514
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1515
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1516
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1517
|
-
};
|
|
1518
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1519
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1520
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1521
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1522
|
-
};
|
|
1523
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1524
|
-
stringOrNull: {
|
|
1525
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
1526
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1527
|
-
number: any;
|
|
1528
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1529
|
-
numberOrNull: any;
|
|
1530
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1531
|
-
string: any;
|
|
1532
|
-
stringOrNull: any;
|
|
1533
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1534
|
-
boolean: {
|
|
1535
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
1536
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1537
|
-
number: any;
|
|
1538
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1539
|
-
numberOrNull: any;
|
|
1540
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1541
|
-
string: any;
|
|
1542
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1543
|
-
stringOrNull: any;
|
|
1544
|
-
boolean: any;
|
|
1545
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1546
|
-
booleanOrNull: {
|
|
1547
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1548
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1549
|
-
number: any;
|
|
1550
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1551
|
-
numberOrNull: any;
|
|
1552
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1553
|
-
string: any;
|
|
1554
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1555
|
-
stringOrNull: any;
|
|
1556
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1557
|
-
boolean: any;
|
|
1558
|
-
booleanOrNull: any;
|
|
1559
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1560
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1561
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1562
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1563
|
-
};
|
|
1564
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1565
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1566
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1567
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1568
|
-
};
|
|
1569
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1570
|
-
booleanOrNull: {
|
|
1571
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1572
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1573
|
-
number: any;
|
|
1574
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1575
|
-
numberOrNull: any;
|
|
1576
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1577
|
-
string: any;
|
|
1578
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1579
|
-
stringOrNull: any;
|
|
1580
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1581
|
-
boolean: any;
|
|
1582
|
-
booleanOrNull: any;
|
|
1583
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1584
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1585
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1586
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1587
|
-
};
|
|
1588
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1589
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1590
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1591
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1592
|
-
};
|
|
1593
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1594
|
-
boolean: {
|
|
1595
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
1596
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1597
|
-
number: any;
|
|
1598
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1599
|
-
numberOrNull: any;
|
|
1600
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1601
|
-
string: any;
|
|
1602
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1603
|
-
stringOrNull: any;
|
|
1604
|
-
boolean: any;
|
|
1605
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1606
|
-
booleanOrNull: {
|
|
1607
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1608
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1609
|
-
number: any;
|
|
1610
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1611
|
-
numberOrNull: any;
|
|
1612
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1613
|
-
string: any;
|
|
1614
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1615
|
-
stringOrNull: any;
|
|
1616
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1617
|
-
boolean: any;
|
|
1618
|
-
booleanOrNull: any;
|
|
1619
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1620
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1621
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1622
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1623
|
-
};
|
|
1624
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1625
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1626
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1627
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1628
|
-
};
|
|
1629
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1630
|
-
booleanOrNull: {
|
|
1631
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1632
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1633
|
-
number: any;
|
|
1634
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1635
|
-
numberOrNull: any;
|
|
1636
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1637
|
-
string: any;
|
|
1638
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1639
|
-
stringOrNull: any;
|
|
1640
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1641
|
-
boolean: any;
|
|
1642
|
-
booleanOrNull: any;
|
|
1643
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1644
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1645
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1646
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1647
|
-
};
|
|
1648
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1649
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1650
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1651
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1652
|
-
};
|
|
1653
|
-
var string: {
|
|
1654
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string, never>;
|
|
1655
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1656
|
-
number: {
|
|
1657
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<number, never>;
|
|
1658
|
-
number: /*elided*/ any;
|
|
1659
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1660
|
-
numberOrNull: {
|
|
1661
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<number | null, never>;
|
|
1662
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1663
|
-
number: /*elided*/ any;
|
|
1664
|
-
numberOrNull: /*elided*/ any;
|
|
1665
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1666
|
-
string: /*elided*/ any;
|
|
1667
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1668
|
-
stringOrNull: {
|
|
1669
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
1670
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1671
|
-
number: /*elided*/ any;
|
|
1672
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1673
|
-
numberOrNull: /*elided*/ any;
|
|
1674
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1675
|
-
string: /*elided*/ any;
|
|
1676
|
-
stringOrNull: /*elided*/ any;
|
|
1677
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1678
|
-
boolean: {
|
|
1679
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
1680
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1681
|
-
number: /*elided*/ any;
|
|
1682
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1683
|
-
numberOrNull: /*elided*/ any;
|
|
1684
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1685
|
-
string: /*elided*/ any;
|
|
1686
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1687
|
-
stringOrNull: /*elided*/ any;
|
|
1688
|
-
boolean: /*elided*/ any;
|
|
1689
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1690
|
-
booleanOrNull: {
|
|
1691
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1692
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1693
|
-
number: /*elided*/ any;
|
|
1694
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1695
|
-
numberOrNull: /*elided*/ any;
|
|
1696
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1697
|
-
string: /*elided*/ any;
|
|
1698
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1699
|
-
stringOrNull: /*elided*/ any;
|
|
1700
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1701
|
-
boolean: /*elided*/ any;
|
|
1702
|
-
booleanOrNull: /*elided*/ any;
|
|
1703
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1704
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1705
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1706
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1707
|
-
};
|
|
1708
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1709
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1710
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1711
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1712
|
-
};
|
|
1713
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1714
|
-
booleanOrNull: {
|
|
1715
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1716
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1717
|
-
number: any;
|
|
1718
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1719
|
-
numberOrNull: any;
|
|
1720
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1721
|
-
string: any;
|
|
1722
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1723
|
-
stringOrNull: any;
|
|
1724
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1725
|
-
boolean: any;
|
|
1726
|
-
booleanOrNull: any;
|
|
1727
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1728
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1729
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1730
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1731
|
-
};
|
|
1732
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1733
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1734
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1735
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1736
|
-
};
|
|
1737
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1738
|
-
boolean: {
|
|
1739
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
1740
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1741
|
-
number: any;
|
|
1742
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1743
|
-
numberOrNull: any;
|
|
1744
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1745
|
-
string: any;
|
|
1746
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1747
|
-
stringOrNull: any;
|
|
1748
|
-
boolean: any;
|
|
1749
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1750
|
-
booleanOrNull: {
|
|
1751
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1752
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1753
|
-
number: any;
|
|
1754
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1755
|
-
numberOrNull: any;
|
|
1756
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1757
|
-
string: any;
|
|
1758
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1759
|
-
stringOrNull: any;
|
|
1760
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1761
|
-
boolean: any;
|
|
1762
|
-
booleanOrNull: any;
|
|
1763
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1764
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1765
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1766
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1767
|
-
};
|
|
1768
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1769
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1770
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1771
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1772
|
-
};
|
|
1773
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1774
|
-
booleanOrNull: {
|
|
1775
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1776
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1777
|
-
number: any;
|
|
1778
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1779
|
-
numberOrNull: any;
|
|
1780
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1781
|
-
string: any;
|
|
1782
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1783
|
-
stringOrNull: any;
|
|
1784
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1785
|
-
boolean: any;
|
|
1786
|
-
booleanOrNull: any;
|
|
1787
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1788
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1789
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1790
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1791
|
-
};
|
|
1792
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1793
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1794
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1795
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1796
|
-
};
|
|
1797
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1798
|
-
string: /*elided*/ any;
|
|
1799
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1800
|
-
stringOrNull: {
|
|
1801
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
1802
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1803
|
-
number: any;
|
|
1804
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1805
|
-
numberOrNull: any;
|
|
1806
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1807
|
-
string: any;
|
|
1808
|
-
stringOrNull: any;
|
|
1809
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1810
|
-
boolean: {
|
|
1811
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
1812
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1813
|
-
number: any;
|
|
1814
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1815
|
-
numberOrNull: any;
|
|
1816
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1817
|
-
string: any;
|
|
1818
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1819
|
-
stringOrNull: any;
|
|
1820
|
-
boolean: any;
|
|
1821
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1822
|
-
booleanOrNull: {
|
|
1823
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1824
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1825
|
-
number: any;
|
|
1826
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1827
|
-
numberOrNull: any;
|
|
1828
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1829
|
-
string: any;
|
|
1830
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1831
|
-
stringOrNull: any;
|
|
1832
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1833
|
-
boolean: any;
|
|
1834
|
-
booleanOrNull: any;
|
|
1835
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1836
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1837
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1838
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1839
|
-
};
|
|
1840
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1841
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1842
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1843
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1844
|
-
};
|
|
1845
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1846
|
-
booleanOrNull: {
|
|
1847
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1848
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1849
|
-
number: any;
|
|
1850
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1851
|
-
numberOrNull: any;
|
|
1852
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1853
|
-
string: any;
|
|
1854
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1855
|
-
stringOrNull: any;
|
|
1856
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1857
|
-
boolean: any;
|
|
1858
|
-
booleanOrNull: any;
|
|
1859
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1860
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1861
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1862
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1863
|
-
};
|
|
1864
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1865
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1866
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1867
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1868
|
-
};
|
|
1869
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1870
|
-
boolean: {
|
|
1871
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
1872
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1873
|
-
number: any;
|
|
1874
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1875
|
-
numberOrNull: any;
|
|
1876
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1877
|
-
string: any;
|
|
1878
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1879
|
-
stringOrNull: any;
|
|
1880
|
-
boolean: any;
|
|
1881
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1882
|
-
booleanOrNull: {
|
|
1883
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1884
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1885
|
-
number: any;
|
|
1886
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1887
|
-
numberOrNull: any;
|
|
1888
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1889
|
-
string: any;
|
|
1890
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1891
|
-
stringOrNull: any;
|
|
1892
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1893
|
-
boolean: any;
|
|
1894
|
-
booleanOrNull: any;
|
|
1895
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1896
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1897
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1898
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1899
|
-
};
|
|
1900
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1901
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1902
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1903
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1904
|
-
};
|
|
1905
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1906
|
-
booleanOrNull: {
|
|
1907
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1908
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1909
|
-
number: any;
|
|
1910
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1911
|
-
numberOrNull: any;
|
|
1912
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1913
|
-
string: any;
|
|
1914
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1915
|
-
stringOrNull: any;
|
|
1916
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1917
|
-
boolean: any;
|
|
1918
|
-
booleanOrNull: any;
|
|
1919
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1920
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1921
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1922
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1923
|
-
};
|
|
1924
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1925
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1926
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1927
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1928
|
-
};
|
|
1929
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1930
|
-
numberOrNull: {
|
|
1931
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<number | null, never>;
|
|
1932
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1933
|
-
number: any;
|
|
1934
|
-
numberOrNull: any;
|
|
1935
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1936
|
-
string: any;
|
|
1937
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1938
|
-
stringOrNull: {
|
|
1939
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
1940
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1941
|
-
number: any;
|
|
1942
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1943
|
-
numberOrNull: any;
|
|
1944
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1945
|
-
string: any;
|
|
1946
|
-
stringOrNull: any;
|
|
1947
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1948
|
-
boolean: {
|
|
1949
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
1950
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1951
|
-
number: any;
|
|
1952
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1953
|
-
numberOrNull: any;
|
|
1954
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1955
|
-
string: any;
|
|
1956
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1957
|
-
stringOrNull: any;
|
|
1958
|
-
boolean: any;
|
|
1959
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1960
|
-
booleanOrNull: {
|
|
1961
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1962
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1963
|
-
number: any;
|
|
1964
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1965
|
-
numberOrNull: any;
|
|
1966
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1967
|
-
string: any;
|
|
1968
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1969
|
-
stringOrNull: any;
|
|
1970
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1971
|
-
boolean: any;
|
|
1972
|
-
booleanOrNull: any;
|
|
1973
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1974
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1975
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1976
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1977
|
-
};
|
|
1978
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1979
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1980
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
1981
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
1982
|
-
};
|
|
1983
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
1984
|
-
booleanOrNull: {
|
|
1985
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
1986
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
1987
|
-
number: any;
|
|
1988
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
1989
|
-
numberOrNull: any;
|
|
1990
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
1991
|
-
string: any;
|
|
1992
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
1993
|
-
stringOrNull: any;
|
|
1994
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
1995
|
-
boolean: any;
|
|
1996
|
-
booleanOrNull: any;
|
|
1997
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
1998
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
1999
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2000
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2001
|
-
};
|
|
2002
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2003
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2004
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2005
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2006
|
-
};
|
|
2007
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2008
|
-
boolean: {
|
|
2009
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
2010
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2011
|
-
number: any;
|
|
2012
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2013
|
-
numberOrNull: any;
|
|
2014
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2015
|
-
string: any;
|
|
2016
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2017
|
-
stringOrNull: any;
|
|
2018
|
-
boolean: any;
|
|
2019
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2020
|
-
booleanOrNull: {
|
|
2021
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2022
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2023
|
-
number: any;
|
|
2024
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2025
|
-
numberOrNull: any;
|
|
2026
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2027
|
-
string: any;
|
|
2028
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2029
|
-
stringOrNull: any;
|
|
2030
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2031
|
-
boolean: any;
|
|
2032
|
-
booleanOrNull: any;
|
|
2033
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2034
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2035
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2036
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2037
|
-
};
|
|
2038
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2039
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2040
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2041
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2042
|
-
};
|
|
2043
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2044
|
-
booleanOrNull: {
|
|
2045
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2046
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2047
|
-
number: any;
|
|
2048
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2049
|
-
numberOrNull: any;
|
|
2050
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2051
|
-
string: any;
|
|
2052
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2053
|
-
stringOrNull: any;
|
|
2054
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2055
|
-
boolean: any;
|
|
2056
|
-
booleanOrNull: any;
|
|
2057
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2058
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2059
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2060
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2061
|
-
};
|
|
2062
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2063
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2064
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2065
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2066
|
-
};
|
|
2067
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2068
|
-
string: /*elided*/ any;
|
|
2069
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2070
|
-
stringOrNull: {
|
|
2071
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
2072
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2073
|
-
number: any;
|
|
2074
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2075
|
-
numberOrNull: any;
|
|
2076
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2077
|
-
string: any;
|
|
2078
|
-
stringOrNull: any;
|
|
2079
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2080
|
-
boolean: {
|
|
2081
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
2082
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2083
|
-
number: any;
|
|
2084
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2085
|
-
numberOrNull: any;
|
|
2086
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2087
|
-
string: any;
|
|
2088
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2089
|
-
stringOrNull: any;
|
|
2090
|
-
boolean: any;
|
|
2091
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2092
|
-
booleanOrNull: {
|
|
2093
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2094
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2095
|
-
number: any;
|
|
2096
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2097
|
-
numberOrNull: any;
|
|
2098
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2099
|
-
string: any;
|
|
2100
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2101
|
-
stringOrNull: any;
|
|
2102
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2103
|
-
boolean: any;
|
|
2104
|
-
booleanOrNull: any;
|
|
2105
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2106
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2107
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2108
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2109
|
-
};
|
|
2110
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2111
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2112
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2113
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2114
|
-
};
|
|
2115
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2116
|
-
booleanOrNull: {
|
|
2117
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2118
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2119
|
-
number: any;
|
|
2120
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2121
|
-
numberOrNull: any;
|
|
2122
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2123
|
-
string: any;
|
|
2124
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2125
|
-
stringOrNull: any;
|
|
2126
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2127
|
-
boolean: any;
|
|
2128
|
-
booleanOrNull: any;
|
|
2129
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2130
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2131
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2132
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2133
|
-
};
|
|
2134
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2135
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2136
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2137
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2138
|
-
};
|
|
2139
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2140
|
-
boolean: {
|
|
2141
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
2142
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2143
|
-
number: any;
|
|
2144
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2145
|
-
numberOrNull: any;
|
|
2146
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2147
|
-
string: any;
|
|
2148
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2149
|
-
stringOrNull: any;
|
|
2150
|
-
boolean: any;
|
|
2151
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2152
|
-
booleanOrNull: {
|
|
2153
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2154
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2155
|
-
number: any;
|
|
2156
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2157
|
-
numberOrNull: any;
|
|
2158
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2159
|
-
string: any;
|
|
2160
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2161
|
-
stringOrNull: any;
|
|
2162
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2163
|
-
boolean: any;
|
|
2164
|
-
booleanOrNull: any;
|
|
2165
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2166
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2167
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2168
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2169
|
-
};
|
|
2170
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2171
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2172
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2173
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2174
|
-
};
|
|
2175
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2176
|
-
booleanOrNull: {
|
|
2177
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2178
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2179
|
-
number: any;
|
|
2180
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2181
|
-
numberOrNull: any;
|
|
2182
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2183
|
-
string: any;
|
|
2184
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2185
|
-
stringOrNull: any;
|
|
2186
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2187
|
-
boolean: any;
|
|
2188
|
-
booleanOrNull: any;
|
|
2189
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2190
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2191
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2192
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2193
|
-
};
|
|
2194
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2195
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2196
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2197
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2198
|
-
};
|
|
2199
|
-
var stringOrNull: {
|
|
2200
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
2201
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2202
|
-
number: {
|
|
2203
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<number, never>;
|
|
2204
|
-
number: /*elided*/ any;
|
|
2205
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2206
|
-
numberOrNull: {
|
|
2207
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<number | null, never>;
|
|
2208
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2209
|
-
number: /*elided*/ any;
|
|
2210
|
-
numberOrNull: /*elided*/ any;
|
|
2211
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2212
|
-
string: {
|
|
2213
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string, never>;
|
|
2214
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2215
|
-
number: /*elided*/ any;
|
|
2216
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2217
|
-
numberOrNull: /*elided*/ any;
|
|
2218
|
-
string: /*elided*/ any;
|
|
2219
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2220
|
-
stringOrNull: /*elided*/ any;
|
|
2221
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2222
|
-
boolean: {
|
|
2223
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
2224
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2225
|
-
number: /*elided*/ any;
|
|
2226
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2227
|
-
numberOrNull: /*elided*/ any;
|
|
2228
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2229
|
-
string: /*elided*/ any;
|
|
2230
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2231
|
-
stringOrNull: /*elided*/ any;
|
|
2232
|
-
boolean: /*elided*/ any;
|
|
2233
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2234
|
-
booleanOrNull: {
|
|
2235
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2236
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2237
|
-
number: /*elided*/ any;
|
|
2238
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2239
|
-
numberOrNull: /*elided*/ any;
|
|
2240
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2241
|
-
string: /*elided*/ any;
|
|
2242
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2243
|
-
stringOrNull: /*elided*/ any;
|
|
2244
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2245
|
-
boolean: /*elided*/ any;
|
|
2246
|
-
booleanOrNull: /*elided*/ any;
|
|
2247
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2248
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2249
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2250
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2251
|
-
};
|
|
2252
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2253
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2254
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2255
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2256
|
-
};
|
|
2257
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2258
|
-
booleanOrNull: {
|
|
2259
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2260
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2261
|
-
number: any;
|
|
2262
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2263
|
-
numberOrNull: any;
|
|
2264
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2265
|
-
string: any;
|
|
2266
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2267
|
-
stringOrNull: any;
|
|
2268
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2269
|
-
boolean: any;
|
|
2270
|
-
booleanOrNull: any;
|
|
2271
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2272
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2273
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2274
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2275
|
-
};
|
|
2276
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2277
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2278
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2279
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2280
|
-
};
|
|
2281
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2282
|
-
stringOrNull: /*elided*/ any;
|
|
2283
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2284
|
-
boolean: {
|
|
2285
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
2286
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2287
|
-
number: any;
|
|
2288
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2289
|
-
numberOrNull: any;
|
|
2290
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2291
|
-
string: any;
|
|
2292
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2293
|
-
stringOrNull: any;
|
|
2294
|
-
boolean: any;
|
|
2295
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2296
|
-
booleanOrNull: {
|
|
2297
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2298
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2299
|
-
number: any;
|
|
2300
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2301
|
-
numberOrNull: any;
|
|
2302
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2303
|
-
string: any;
|
|
2304
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2305
|
-
stringOrNull: any;
|
|
2306
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2307
|
-
boolean: any;
|
|
2308
|
-
booleanOrNull: any;
|
|
2309
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2310
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2311
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2312
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2313
|
-
};
|
|
2314
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2315
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2316
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2317
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2318
|
-
};
|
|
2319
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2320
|
-
booleanOrNull: {
|
|
2321
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2322
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2323
|
-
number: any;
|
|
2324
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2325
|
-
numberOrNull: any;
|
|
2326
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2327
|
-
string: any;
|
|
2328
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2329
|
-
stringOrNull: any;
|
|
2330
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2331
|
-
boolean: any;
|
|
2332
|
-
booleanOrNull: any;
|
|
2333
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2334
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2335
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2336
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2337
|
-
};
|
|
2338
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2339
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2340
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2341
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2342
|
-
};
|
|
2343
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2344
|
-
string: {
|
|
2345
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string, never>;
|
|
2346
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2347
|
-
number: any;
|
|
2348
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2349
|
-
numberOrNull: any;
|
|
2350
|
-
string: any;
|
|
2351
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2352
|
-
stringOrNull: any;
|
|
2353
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2354
|
-
boolean: {
|
|
2355
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
2356
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2357
|
-
number: any;
|
|
2358
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2359
|
-
numberOrNull: any;
|
|
2360
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2361
|
-
string: any;
|
|
2362
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2363
|
-
stringOrNull: any;
|
|
2364
|
-
boolean: any;
|
|
2365
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2366
|
-
booleanOrNull: {
|
|
2367
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2368
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2369
|
-
number: any;
|
|
2370
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2371
|
-
numberOrNull: any;
|
|
2372
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2373
|
-
string: any;
|
|
2374
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2375
|
-
stringOrNull: any;
|
|
2376
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2377
|
-
boolean: any;
|
|
2378
|
-
booleanOrNull: any;
|
|
2379
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2380
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2381
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2382
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2383
|
-
};
|
|
2384
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2385
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2386
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2387
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2388
|
-
};
|
|
2389
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2390
|
-
booleanOrNull: {
|
|
2391
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2392
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2393
|
-
number: any;
|
|
2394
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2395
|
-
numberOrNull: any;
|
|
2396
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2397
|
-
string: any;
|
|
2398
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2399
|
-
stringOrNull: any;
|
|
2400
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2401
|
-
boolean: any;
|
|
2402
|
-
booleanOrNull: any;
|
|
2403
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2404
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2405
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2406
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2407
|
-
};
|
|
2408
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2409
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2410
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2411
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2412
|
-
};
|
|
2413
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2414
|
-
stringOrNull: /*elided*/ any;
|
|
2415
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2416
|
-
boolean: {
|
|
2417
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
2418
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2419
|
-
number: any;
|
|
2420
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2421
|
-
numberOrNull: any;
|
|
2422
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2423
|
-
string: any;
|
|
2424
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2425
|
-
stringOrNull: any;
|
|
2426
|
-
boolean: any;
|
|
2427
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2428
|
-
booleanOrNull: {
|
|
2429
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2430
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2431
|
-
number: any;
|
|
2432
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2433
|
-
numberOrNull: any;
|
|
2434
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2435
|
-
string: any;
|
|
2436
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2437
|
-
stringOrNull: any;
|
|
2438
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2439
|
-
boolean: any;
|
|
2440
|
-
booleanOrNull: any;
|
|
2441
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2442
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2443
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2444
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2445
|
-
};
|
|
2446
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2447
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2448
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2449
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2450
|
-
};
|
|
2451
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2452
|
-
booleanOrNull: {
|
|
2453
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2454
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2455
|
-
number: any;
|
|
2456
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2457
|
-
numberOrNull: any;
|
|
2458
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2459
|
-
string: any;
|
|
2460
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2461
|
-
stringOrNull: any;
|
|
2462
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2463
|
-
boolean: any;
|
|
2464
|
-
booleanOrNull: any;
|
|
2465
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2466
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2467
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2468
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2469
|
-
};
|
|
2470
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2471
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2472
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2473
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2474
|
-
};
|
|
2475
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2476
|
-
numberOrNull: {
|
|
2477
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<number | null, never>;
|
|
2478
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2479
|
-
number: any;
|
|
2480
|
-
numberOrNull: any;
|
|
2481
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2482
|
-
string: {
|
|
2483
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string, never>;
|
|
2484
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2485
|
-
number: any;
|
|
2486
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2487
|
-
numberOrNull: any;
|
|
2488
|
-
string: any;
|
|
2489
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2490
|
-
stringOrNull: any;
|
|
2491
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2492
|
-
boolean: {
|
|
2493
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
2494
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2495
|
-
number: any;
|
|
2496
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2497
|
-
numberOrNull: any;
|
|
2498
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2499
|
-
string: any;
|
|
2500
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2501
|
-
stringOrNull: any;
|
|
2502
|
-
boolean: any;
|
|
2503
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2504
|
-
booleanOrNull: {
|
|
2505
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2506
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2507
|
-
number: any;
|
|
2508
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2509
|
-
numberOrNull: any;
|
|
2510
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2511
|
-
string: any;
|
|
2512
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2513
|
-
stringOrNull: any;
|
|
2514
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2515
|
-
boolean: any;
|
|
2516
|
-
booleanOrNull: any;
|
|
2517
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2518
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2519
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2520
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2521
|
-
};
|
|
2522
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2523
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2524
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2525
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2526
|
-
};
|
|
2527
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2528
|
-
booleanOrNull: {
|
|
2529
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2530
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2531
|
-
number: any;
|
|
2532
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2533
|
-
numberOrNull: any;
|
|
2534
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2535
|
-
string: any;
|
|
2536
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2537
|
-
stringOrNull: any;
|
|
2538
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2539
|
-
boolean: any;
|
|
2540
|
-
booleanOrNull: any;
|
|
2541
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2542
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2543
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2544
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2545
|
-
};
|
|
2546
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2547
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2548
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2549
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2550
|
-
};
|
|
2551
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2552
|
-
stringOrNull: any;
|
|
2553
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2554
|
-
boolean: {
|
|
2555
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
2556
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2557
|
-
number: any;
|
|
2558
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2559
|
-
numberOrNull: any;
|
|
2560
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2561
|
-
string: any;
|
|
2562
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2563
|
-
stringOrNull: any;
|
|
2564
|
-
boolean: any;
|
|
2565
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2566
|
-
booleanOrNull: {
|
|
2567
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2568
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2569
|
-
number: any;
|
|
2570
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2571
|
-
numberOrNull: any;
|
|
2572
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2573
|
-
string: any;
|
|
2574
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2575
|
-
stringOrNull: any;
|
|
2576
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2577
|
-
boolean: any;
|
|
2578
|
-
booleanOrNull: any;
|
|
2579
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2580
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2581
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2582
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2583
|
-
};
|
|
2584
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2585
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2586
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2587
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2588
|
-
};
|
|
2589
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2590
|
-
booleanOrNull: {
|
|
2591
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2592
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2593
|
-
number: any;
|
|
2594
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2595
|
-
numberOrNull: any;
|
|
2596
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2597
|
-
string: any;
|
|
2598
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2599
|
-
stringOrNull: any;
|
|
2600
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2601
|
-
boolean: any;
|
|
2602
|
-
booleanOrNull: any;
|
|
2603
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2604
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2605
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2606
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2607
|
-
};
|
|
2608
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2609
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2610
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2611
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2612
|
-
};
|
|
2613
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2614
|
-
string: {
|
|
2615
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string, never>;
|
|
2616
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2617
|
-
number: any;
|
|
2618
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2619
|
-
numberOrNull: any;
|
|
2620
|
-
string: any;
|
|
2621
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2622
|
-
stringOrNull: any;
|
|
2623
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2624
|
-
boolean: {
|
|
2625
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
2626
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2627
|
-
number: any;
|
|
2628
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2629
|
-
numberOrNull: any;
|
|
2630
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2631
|
-
string: any;
|
|
2632
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2633
|
-
stringOrNull: any;
|
|
2634
|
-
boolean: any;
|
|
2635
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2636
|
-
booleanOrNull: {
|
|
2637
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2638
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2639
|
-
number: any;
|
|
2640
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2641
|
-
numberOrNull: any;
|
|
2642
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2643
|
-
string: any;
|
|
2644
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2645
|
-
stringOrNull: any;
|
|
2646
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2647
|
-
boolean: any;
|
|
2648
|
-
booleanOrNull: any;
|
|
2649
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2650
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2651
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2652
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2653
|
-
};
|
|
2654
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2655
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2656
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2657
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2658
|
-
};
|
|
2659
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2660
|
-
booleanOrNull: {
|
|
2661
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2662
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2663
|
-
number: any;
|
|
2664
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2665
|
-
numberOrNull: any;
|
|
2666
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2667
|
-
string: any;
|
|
2668
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2669
|
-
stringOrNull: any;
|
|
2670
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2671
|
-
boolean: any;
|
|
2672
|
-
booleanOrNull: any;
|
|
2673
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2674
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2675
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2676
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2677
|
-
};
|
|
2678
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2679
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2680
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2681
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2682
|
-
};
|
|
2683
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2684
|
-
stringOrNull: /*elided*/ any;
|
|
2685
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2686
|
-
boolean: {
|
|
2687
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
2688
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2689
|
-
number: any;
|
|
2690
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2691
|
-
numberOrNull: any;
|
|
2692
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2693
|
-
string: any;
|
|
2694
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2695
|
-
stringOrNull: any;
|
|
2696
|
-
boolean: any;
|
|
2697
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2698
|
-
booleanOrNull: {
|
|
2699
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2700
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2701
|
-
number: any;
|
|
2702
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2703
|
-
numberOrNull: any;
|
|
2704
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2705
|
-
string: any;
|
|
2706
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2707
|
-
stringOrNull: any;
|
|
2708
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2709
|
-
boolean: any;
|
|
2710
|
-
booleanOrNull: any;
|
|
2711
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2712
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2713
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2714
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2715
|
-
};
|
|
2716
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2717
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2718
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2719
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2720
|
-
};
|
|
2721
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2722
|
-
booleanOrNull: {
|
|
2723
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2724
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2725
|
-
number: any;
|
|
2726
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2727
|
-
numberOrNull: any;
|
|
2728
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2729
|
-
string: any;
|
|
2730
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2731
|
-
stringOrNull: any;
|
|
2732
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2733
|
-
boolean: any;
|
|
2734
|
-
booleanOrNull: any;
|
|
2735
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2736
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2737
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2738
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2739
|
-
};
|
|
2740
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2741
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2742
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2743
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2744
|
-
};
|
|
2745
|
-
var boolean: {
|
|
2746
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
2747
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2748
|
-
number: {
|
|
2749
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<number, never>;
|
|
2750
|
-
number: /*elided*/ any;
|
|
2751
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2752
|
-
numberOrNull: {
|
|
2753
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<number | null, never>;
|
|
2754
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2755
|
-
number: /*elided*/ any;
|
|
2756
|
-
numberOrNull: /*elided*/ any;
|
|
2757
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2758
|
-
string: {
|
|
2759
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string, never>;
|
|
2760
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2761
|
-
number: /*elided*/ any;
|
|
2762
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2763
|
-
numberOrNull: /*elided*/ any;
|
|
2764
|
-
string: /*elided*/ any;
|
|
2765
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2766
|
-
stringOrNull: {
|
|
2767
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
2768
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2769
|
-
number: /*elided*/ any;
|
|
2770
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2771
|
-
numberOrNull: /*elided*/ any;
|
|
2772
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2773
|
-
string: /*elided*/ any;
|
|
2774
|
-
stringOrNull: /*elided*/ any;
|
|
2775
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2776
|
-
boolean: /*elided*/ any;
|
|
2777
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2778
|
-
booleanOrNull: {
|
|
2779
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2780
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2781
|
-
number: /*elided*/ any;
|
|
2782
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2783
|
-
numberOrNull: /*elided*/ any;
|
|
2784
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2785
|
-
string: /*elided*/ any;
|
|
2786
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2787
|
-
stringOrNull: /*elided*/ any;
|
|
2788
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2789
|
-
boolean: /*elided*/ any;
|
|
2790
|
-
booleanOrNull: /*elided*/ any;
|
|
2791
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2792
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2793
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2794
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2795
|
-
};
|
|
2796
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2797
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2798
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2799
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2800
|
-
};
|
|
2801
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2802
|
-
boolean: /*elided*/ any;
|
|
2803
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2804
|
-
booleanOrNull: {
|
|
2805
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2806
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2807
|
-
number: any;
|
|
2808
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2809
|
-
numberOrNull: any;
|
|
2810
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2811
|
-
string: any;
|
|
2812
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2813
|
-
stringOrNull: any;
|
|
2814
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2815
|
-
boolean: any;
|
|
2816
|
-
booleanOrNull: any;
|
|
2817
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2818
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2819
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2820
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2821
|
-
};
|
|
2822
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2823
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2824
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2825
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2826
|
-
};
|
|
2827
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2828
|
-
stringOrNull: {
|
|
2829
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
2830
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2831
|
-
number: any;
|
|
2832
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2833
|
-
numberOrNull: any;
|
|
2834
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2835
|
-
string: any;
|
|
2836
|
-
stringOrNull: any;
|
|
2837
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2838
|
-
boolean: any;
|
|
2839
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2840
|
-
booleanOrNull: {
|
|
2841
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2842
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2843
|
-
number: any;
|
|
2844
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2845
|
-
numberOrNull: any;
|
|
2846
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2847
|
-
string: any;
|
|
2848
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2849
|
-
stringOrNull: any;
|
|
2850
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2851
|
-
boolean: any;
|
|
2852
|
-
booleanOrNull: any;
|
|
2853
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2854
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2855
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2856
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2857
|
-
};
|
|
2858
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2859
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2860
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2861
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2862
|
-
};
|
|
2863
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2864
|
-
boolean: /*elided*/ any;
|
|
2865
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2866
|
-
booleanOrNull: {
|
|
2867
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2868
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2869
|
-
number: any;
|
|
2870
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2871
|
-
numberOrNull: any;
|
|
2872
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2873
|
-
string: any;
|
|
2874
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2875
|
-
stringOrNull: any;
|
|
2876
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2877
|
-
boolean: any;
|
|
2878
|
-
booleanOrNull: any;
|
|
2879
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2880
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2881
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2882
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2883
|
-
};
|
|
2884
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2885
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2886
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2887
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2888
|
-
};
|
|
2889
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2890
|
-
string: {
|
|
2891
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string, never>;
|
|
2892
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2893
|
-
number: any;
|
|
2894
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2895
|
-
numberOrNull: any;
|
|
2896
|
-
string: any;
|
|
2897
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2898
|
-
stringOrNull: {
|
|
2899
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
2900
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2901
|
-
number: any;
|
|
2902
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2903
|
-
numberOrNull: any;
|
|
2904
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2905
|
-
string: any;
|
|
2906
|
-
stringOrNull: any;
|
|
2907
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2908
|
-
boolean: any;
|
|
2909
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2910
|
-
booleanOrNull: {
|
|
2911
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2912
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2913
|
-
number: any;
|
|
2914
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2915
|
-
numberOrNull: any;
|
|
2916
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2917
|
-
string: any;
|
|
2918
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2919
|
-
stringOrNull: any;
|
|
2920
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2921
|
-
boolean: any;
|
|
2922
|
-
booleanOrNull: any;
|
|
2923
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2924
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2925
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2926
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2927
|
-
};
|
|
2928
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2929
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2930
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2931
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2932
|
-
};
|
|
2933
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2934
|
-
boolean: any;
|
|
2935
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2936
|
-
booleanOrNull: {
|
|
2937
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2938
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2939
|
-
number: any;
|
|
2940
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2941
|
-
numberOrNull: any;
|
|
2942
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2943
|
-
string: any;
|
|
2944
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2945
|
-
stringOrNull: any;
|
|
2946
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2947
|
-
boolean: any;
|
|
2948
|
-
booleanOrNull: any;
|
|
2949
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2950
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2951
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2952
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2953
|
-
};
|
|
2954
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2955
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2956
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2957
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2958
|
-
};
|
|
2959
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2960
|
-
stringOrNull: {
|
|
2961
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
2962
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2963
|
-
number: any;
|
|
2964
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2965
|
-
numberOrNull: any;
|
|
2966
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2967
|
-
string: any;
|
|
2968
|
-
stringOrNull: any;
|
|
2969
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2970
|
-
boolean: any;
|
|
2971
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2972
|
-
booleanOrNull: {
|
|
2973
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
2974
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
2975
|
-
number: any;
|
|
2976
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
2977
|
-
numberOrNull: any;
|
|
2978
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
2979
|
-
string: any;
|
|
2980
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
2981
|
-
stringOrNull: any;
|
|
2982
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2983
|
-
boolean: any;
|
|
2984
|
-
booleanOrNull: any;
|
|
2985
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2986
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2987
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2988
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2989
|
-
};
|
|
2990
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
2991
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
2992
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
2993
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
2994
|
-
};
|
|
2995
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
2996
|
-
boolean: /*elided*/ any;
|
|
2997
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
2998
|
-
booleanOrNull: {
|
|
2999
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
3000
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3001
|
-
number: any;
|
|
3002
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3003
|
-
numberOrNull: any;
|
|
3004
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3005
|
-
string: any;
|
|
3006
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3007
|
-
stringOrNull: any;
|
|
3008
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3009
|
-
boolean: any;
|
|
3010
|
-
booleanOrNull: any;
|
|
3011
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3012
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3013
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3014
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3015
|
-
};
|
|
3016
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3017
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3018
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3019
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3020
|
-
};
|
|
3021
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3022
|
-
numberOrNull: {
|
|
3023
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<number | null, never>;
|
|
3024
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3025
|
-
number: any;
|
|
3026
|
-
numberOrNull: any;
|
|
3027
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3028
|
-
string: {
|
|
3029
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string, never>;
|
|
3030
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3031
|
-
number: any;
|
|
3032
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3033
|
-
numberOrNull: any;
|
|
3034
|
-
string: any;
|
|
3035
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3036
|
-
stringOrNull: {
|
|
3037
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
3038
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3039
|
-
number: any;
|
|
3040
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3041
|
-
numberOrNull: any;
|
|
3042
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3043
|
-
string: any;
|
|
3044
|
-
stringOrNull: any;
|
|
3045
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3046
|
-
boolean: any;
|
|
3047
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3048
|
-
booleanOrNull: {
|
|
3049
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
3050
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3051
|
-
number: any;
|
|
3052
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3053
|
-
numberOrNull: any;
|
|
3054
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3055
|
-
string: any;
|
|
3056
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3057
|
-
stringOrNull: any;
|
|
3058
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3059
|
-
boolean: any;
|
|
3060
|
-
booleanOrNull: any;
|
|
3061
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3062
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3063
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3064
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3065
|
-
};
|
|
3066
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3067
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3068
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3069
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3070
|
-
};
|
|
3071
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3072
|
-
boolean: any;
|
|
3073
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3074
|
-
booleanOrNull: {
|
|
3075
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
3076
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3077
|
-
number: any;
|
|
3078
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3079
|
-
numberOrNull: any;
|
|
3080
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3081
|
-
string: any;
|
|
3082
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3083
|
-
stringOrNull: any;
|
|
3084
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3085
|
-
boolean: any;
|
|
3086
|
-
booleanOrNull: any;
|
|
3087
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3088
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3089
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3090
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3091
|
-
};
|
|
3092
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3093
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3094
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3095
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3096
|
-
};
|
|
3097
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3098
|
-
stringOrNull: {
|
|
3099
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
3100
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3101
|
-
number: any;
|
|
3102
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3103
|
-
numberOrNull: any;
|
|
3104
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3105
|
-
string: any;
|
|
3106
|
-
stringOrNull: any;
|
|
3107
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3108
|
-
boolean: any;
|
|
3109
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3110
|
-
booleanOrNull: {
|
|
3111
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
3112
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3113
|
-
number: any;
|
|
3114
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3115
|
-
numberOrNull: any;
|
|
3116
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3117
|
-
string: any;
|
|
3118
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3119
|
-
stringOrNull: any;
|
|
3120
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3121
|
-
boolean: any;
|
|
3122
|
-
booleanOrNull: any;
|
|
3123
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3124
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3125
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3126
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3127
|
-
};
|
|
3128
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3129
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3130
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3131
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3132
|
-
};
|
|
3133
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3134
|
-
boolean: any;
|
|
3135
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3136
|
-
booleanOrNull: {
|
|
3137
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
3138
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3139
|
-
number: any;
|
|
3140
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3141
|
-
numberOrNull: any;
|
|
3142
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3143
|
-
string: any;
|
|
3144
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3145
|
-
stringOrNull: any;
|
|
3146
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3147
|
-
boolean: any;
|
|
3148
|
-
booleanOrNull: any;
|
|
3149
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3150
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3151
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3152
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3153
|
-
};
|
|
3154
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3155
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3156
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3157
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3158
|
-
};
|
|
3159
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3160
|
-
string: {
|
|
3161
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string, never>;
|
|
3162
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3163
|
-
number: any;
|
|
3164
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3165
|
-
numberOrNull: any;
|
|
3166
|
-
string: any;
|
|
3167
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3168
|
-
stringOrNull: {
|
|
3169
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
3170
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3171
|
-
number: any;
|
|
3172
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3173
|
-
numberOrNull: any;
|
|
3174
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3175
|
-
string: any;
|
|
3176
|
-
stringOrNull: any;
|
|
3177
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3178
|
-
boolean: any;
|
|
3179
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3180
|
-
booleanOrNull: {
|
|
3181
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
3182
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3183
|
-
number: any;
|
|
3184
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3185
|
-
numberOrNull: any;
|
|
3186
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3187
|
-
string: any;
|
|
3188
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3189
|
-
stringOrNull: any;
|
|
3190
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3191
|
-
boolean: any;
|
|
3192
|
-
booleanOrNull: any;
|
|
3193
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3194
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3195
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3196
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3197
|
-
};
|
|
3198
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3199
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3200
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3201
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3202
|
-
};
|
|
3203
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3204
|
-
boolean: any;
|
|
3205
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3206
|
-
booleanOrNull: {
|
|
3207
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
3208
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3209
|
-
number: any;
|
|
3210
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3211
|
-
numberOrNull: any;
|
|
3212
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3213
|
-
string: any;
|
|
3214
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3215
|
-
stringOrNull: any;
|
|
3216
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3217
|
-
boolean: any;
|
|
3218
|
-
booleanOrNull: any;
|
|
3219
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3220
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3221
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3222
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3223
|
-
};
|
|
3224
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3225
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3226
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3227
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3228
|
-
};
|
|
3229
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3230
|
-
stringOrNull: {
|
|
3231
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
3232
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3233
|
-
number: any;
|
|
3234
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3235
|
-
numberOrNull: any;
|
|
3236
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3237
|
-
string: any;
|
|
3238
|
-
stringOrNull: any;
|
|
3239
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3240
|
-
boolean: any;
|
|
3241
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3242
|
-
booleanOrNull: {
|
|
3243
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
3244
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3245
|
-
number: any;
|
|
3246
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3247
|
-
numberOrNull: any;
|
|
3248
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3249
|
-
string: any;
|
|
3250
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3251
|
-
stringOrNull: any;
|
|
3252
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3253
|
-
boolean: any;
|
|
3254
|
-
booleanOrNull: any;
|
|
3255
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3256
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3257
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3258
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3259
|
-
};
|
|
3260
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3261
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3262
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3263
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3264
|
-
};
|
|
3265
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3266
|
-
boolean: /*elided*/ any;
|
|
3267
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3268
|
-
booleanOrNull: {
|
|
3269
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
3270
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3271
|
-
number: any;
|
|
3272
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3273
|
-
numberOrNull: any;
|
|
3274
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3275
|
-
string: any;
|
|
3276
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3277
|
-
stringOrNull: any;
|
|
3278
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3279
|
-
boolean: any;
|
|
3280
|
-
booleanOrNull: any;
|
|
3281
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3282
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3283
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3284
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3285
|
-
};
|
|
3286
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3287
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3288
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3289
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3290
|
-
};
|
|
3291
|
-
var booleanOrNull: {
|
|
3292
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean | null, never>;
|
|
3293
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3294
|
-
number: {
|
|
3295
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<number, never>;
|
|
3296
|
-
number: /*elided*/ any;
|
|
3297
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3298
|
-
numberOrNull: {
|
|
3299
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<number | null, never>;
|
|
3300
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3301
|
-
number: /*elided*/ any;
|
|
3302
|
-
numberOrNull: /*elided*/ any;
|
|
3303
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3304
|
-
string: {
|
|
3305
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string, never>;
|
|
3306
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3307
|
-
number: /*elided*/ any;
|
|
3308
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3309
|
-
numberOrNull: /*elided*/ any;
|
|
3310
|
-
string: /*elided*/ any;
|
|
3311
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3312
|
-
stringOrNull: {
|
|
3313
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
3314
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3315
|
-
number: /*elided*/ any;
|
|
3316
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3317
|
-
numberOrNull: /*elided*/ any;
|
|
3318
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3319
|
-
string: /*elided*/ any;
|
|
3320
|
-
stringOrNull: /*elided*/ any;
|
|
3321
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3322
|
-
boolean: {
|
|
3323
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
3324
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3325
|
-
number: /*elided*/ any;
|
|
3326
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3327
|
-
numberOrNull: /*elided*/ any;
|
|
3328
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3329
|
-
string: /*elided*/ any;
|
|
3330
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3331
|
-
stringOrNull: /*elided*/ any;
|
|
3332
|
-
boolean: /*elided*/ any;
|
|
3333
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3334
|
-
booleanOrNull: /*elided*/ any;
|
|
3335
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3336
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3337
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3338
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3339
|
-
};
|
|
3340
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3341
|
-
booleanOrNull: /*elided*/ any;
|
|
3342
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3343
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3344
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3345
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3346
|
-
};
|
|
3347
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3348
|
-
boolean: {
|
|
3349
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
3350
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3351
|
-
number: any;
|
|
3352
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3353
|
-
numberOrNull: any;
|
|
3354
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3355
|
-
string: any;
|
|
3356
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3357
|
-
stringOrNull: any;
|
|
3358
|
-
boolean: any;
|
|
3359
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3360
|
-
booleanOrNull: any;
|
|
3361
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3362
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3363
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3364
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3365
|
-
};
|
|
3366
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3367
|
-
booleanOrNull: /*elided*/ any;
|
|
3368
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3369
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3370
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3371
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3372
|
-
};
|
|
3373
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3374
|
-
stringOrNull: {
|
|
3375
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
3376
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3377
|
-
number: any;
|
|
3378
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3379
|
-
numberOrNull: any;
|
|
3380
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3381
|
-
string: any;
|
|
3382
|
-
stringOrNull: any;
|
|
3383
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3384
|
-
boolean: {
|
|
3385
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
3386
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3387
|
-
number: any;
|
|
3388
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3389
|
-
numberOrNull: any;
|
|
3390
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3391
|
-
string: any;
|
|
3392
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3393
|
-
stringOrNull: any;
|
|
3394
|
-
boolean: any;
|
|
3395
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3396
|
-
booleanOrNull: any;
|
|
3397
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3398
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3399
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3400
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3401
|
-
};
|
|
3402
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3403
|
-
booleanOrNull: any;
|
|
3404
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3405
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3406
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3407
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3408
|
-
};
|
|
3409
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3410
|
-
boolean: {
|
|
3411
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
3412
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3413
|
-
number: any;
|
|
3414
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3415
|
-
numberOrNull: any;
|
|
3416
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3417
|
-
string: any;
|
|
3418
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3419
|
-
stringOrNull: any;
|
|
3420
|
-
boolean: any;
|
|
3421
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3422
|
-
booleanOrNull: any;
|
|
3423
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3424
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3425
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3426
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3427
|
-
};
|
|
3428
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3429
|
-
booleanOrNull: /*elided*/ any;
|
|
3430
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3431
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3432
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3433
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3434
|
-
};
|
|
3435
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3436
|
-
string: {
|
|
3437
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string, never>;
|
|
3438
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3439
|
-
number: any;
|
|
3440
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3441
|
-
numberOrNull: any;
|
|
3442
|
-
string: any;
|
|
3443
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3444
|
-
stringOrNull: {
|
|
3445
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
3446
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3447
|
-
number: any;
|
|
3448
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3449
|
-
numberOrNull: any;
|
|
3450
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3451
|
-
string: any;
|
|
3452
|
-
stringOrNull: any;
|
|
3453
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3454
|
-
boolean: {
|
|
3455
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
3456
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3457
|
-
number: any;
|
|
3458
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3459
|
-
numberOrNull: any;
|
|
3460
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3461
|
-
string: any;
|
|
3462
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3463
|
-
stringOrNull: any;
|
|
3464
|
-
boolean: any;
|
|
3465
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3466
|
-
booleanOrNull: any;
|
|
3467
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3468
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3469
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3470
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3471
|
-
};
|
|
3472
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3473
|
-
booleanOrNull: any;
|
|
3474
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3475
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3476
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3477
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3478
|
-
};
|
|
3479
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3480
|
-
boolean: {
|
|
3481
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
3482
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3483
|
-
number: any;
|
|
3484
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3485
|
-
numberOrNull: any;
|
|
3486
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3487
|
-
string: any;
|
|
3488
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3489
|
-
stringOrNull: any;
|
|
3490
|
-
boolean: any;
|
|
3491
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3492
|
-
booleanOrNull: any;
|
|
3493
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3494
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3495
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3496
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3497
|
-
};
|
|
3498
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3499
|
-
booleanOrNull: any;
|
|
3500
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3501
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3502
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3503
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3504
|
-
};
|
|
3505
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3506
|
-
stringOrNull: {
|
|
3507
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
3508
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3509
|
-
number: any;
|
|
3510
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3511
|
-
numberOrNull: any;
|
|
3512
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3513
|
-
string: any;
|
|
3514
|
-
stringOrNull: any;
|
|
3515
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3516
|
-
boolean: {
|
|
3517
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
3518
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3519
|
-
number: any;
|
|
3520
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3521
|
-
numberOrNull: any;
|
|
3522
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3523
|
-
string: any;
|
|
3524
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3525
|
-
stringOrNull: any;
|
|
3526
|
-
boolean: any;
|
|
3527
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3528
|
-
booleanOrNull: any;
|
|
3529
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3530
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3531
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3532
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3533
|
-
};
|
|
3534
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3535
|
-
booleanOrNull: any;
|
|
3536
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3537
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3538
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3539
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3540
|
-
};
|
|
3541
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3542
|
-
boolean: {
|
|
3543
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
3544
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3545
|
-
number: any;
|
|
3546
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3547
|
-
numberOrNull: any;
|
|
3548
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3549
|
-
string: any;
|
|
3550
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3551
|
-
stringOrNull: any;
|
|
3552
|
-
boolean: any;
|
|
3553
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3554
|
-
booleanOrNull: any;
|
|
3555
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3556
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3557
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3558
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3559
|
-
};
|
|
3560
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3561
|
-
booleanOrNull: /*elided*/ any;
|
|
3562
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3563
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3564
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3565
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3566
|
-
};
|
|
3567
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3568
|
-
numberOrNull: {
|
|
3569
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<number | null, never>;
|
|
3570
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3571
|
-
number: any;
|
|
3572
|
-
numberOrNull: any;
|
|
3573
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3574
|
-
string: {
|
|
3575
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string, never>;
|
|
3576
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3577
|
-
number: any;
|
|
3578
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3579
|
-
numberOrNull: any;
|
|
3580
|
-
string: any;
|
|
3581
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3582
|
-
stringOrNull: {
|
|
3583
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
3584
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3585
|
-
number: any;
|
|
3586
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3587
|
-
numberOrNull: any;
|
|
3588
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3589
|
-
string: any;
|
|
3590
|
-
stringOrNull: any;
|
|
3591
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3592
|
-
boolean: {
|
|
3593
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
3594
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3595
|
-
number: any;
|
|
3596
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3597
|
-
numberOrNull: any;
|
|
3598
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3599
|
-
string: any;
|
|
3600
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3601
|
-
stringOrNull: any;
|
|
3602
|
-
boolean: any;
|
|
3603
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3604
|
-
booleanOrNull: any;
|
|
3605
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3606
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3607
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3608
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3609
|
-
};
|
|
3610
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3611
|
-
booleanOrNull: any;
|
|
3612
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3613
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3614
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3615
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3616
|
-
};
|
|
3617
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3618
|
-
boolean: {
|
|
3619
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
3620
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3621
|
-
number: any;
|
|
3622
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3623
|
-
numberOrNull: any;
|
|
3624
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3625
|
-
string: any;
|
|
3626
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3627
|
-
stringOrNull: any;
|
|
3628
|
-
boolean: any;
|
|
3629
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3630
|
-
booleanOrNull: any;
|
|
3631
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3632
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3633
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3634
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3635
|
-
};
|
|
3636
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3637
|
-
booleanOrNull: any;
|
|
3638
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3639
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3640
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3641
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3642
|
-
};
|
|
3643
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3644
|
-
stringOrNull: {
|
|
3645
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
3646
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3647
|
-
number: any;
|
|
3648
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3649
|
-
numberOrNull: any;
|
|
3650
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3651
|
-
string: any;
|
|
3652
|
-
stringOrNull: any;
|
|
3653
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3654
|
-
boolean: {
|
|
3655
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
3656
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3657
|
-
number: any;
|
|
3658
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3659
|
-
numberOrNull: any;
|
|
3660
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3661
|
-
string: any;
|
|
3662
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3663
|
-
stringOrNull: any;
|
|
3664
|
-
boolean: any;
|
|
3665
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3666
|
-
booleanOrNull: any;
|
|
3667
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3668
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3669
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3670
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3671
|
-
};
|
|
3672
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3673
|
-
booleanOrNull: any;
|
|
3674
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3675
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3676
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3677
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3678
|
-
};
|
|
3679
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3680
|
-
boolean: {
|
|
3681
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
3682
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3683
|
-
number: any;
|
|
3684
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3685
|
-
numberOrNull: any;
|
|
3686
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3687
|
-
string: any;
|
|
3688
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3689
|
-
stringOrNull: any;
|
|
3690
|
-
boolean: any;
|
|
3691
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3692
|
-
booleanOrNull: any;
|
|
3693
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3694
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3695
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3696
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3697
|
-
};
|
|
3698
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3699
|
-
booleanOrNull: any;
|
|
3700
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3701
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3702
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3703
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3704
|
-
};
|
|
3705
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3706
|
-
string: {
|
|
3707
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string, never>;
|
|
3708
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3709
|
-
number: any;
|
|
3710
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3711
|
-
numberOrNull: any;
|
|
3712
|
-
string: any;
|
|
3713
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3714
|
-
stringOrNull: {
|
|
3715
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
3716
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3717
|
-
number: any;
|
|
3718
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3719
|
-
numberOrNull: any;
|
|
3720
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3721
|
-
string: any;
|
|
3722
|
-
stringOrNull: any;
|
|
3723
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3724
|
-
boolean: {
|
|
3725
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
3726
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3727
|
-
number: any;
|
|
3728
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3729
|
-
numberOrNull: any;
|
|
3730
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3731
|
-
string: any;
|
|
3732
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3733
|
-
stringOrNull: any;
|
|
3734
|
-
boolean: any;
|
|
3735
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3736
|
-
booleanOrNull: any;
|
|
3737
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3738
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3739
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3740
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3741
|
-
};
|
|
3742
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3743
|
-
booleanOrNull: any;
|
|
3744
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3745
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3746
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3747
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3748
|
-
};
|
|
3749
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3750
|
-
boolean: {
|
|
3751
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
3752
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3753
|
-
number: any;
|
|
3754
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3755
|
-
numberOrNull: any;
|
|
3756
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3757
|
-
string: any;
|
|
3758
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3759
|
-
stringOrNull: any;
|
|
3760
|
-
boolean: any;
|
|
3761
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3762
|
-
booleanOrNull: any;
|
|
3763
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3764
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3765
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3766
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3767
|
-
};
|
|
3768
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3769
|
-
booleanOrNull: any;
|
|
3770
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3771
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3772
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3773
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3774
|
-
};
|
|
3775
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3776
|
-
stringOrNull: {
|
|
3777
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<string | null, never>;
|
|
3778
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3779
|
-
number: any;
|
|
3780
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3781
|
-
numberOrNull: any;
|
|
3782
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3783
|
-
string: any;
|
|
3784
|
-
stringOrNull: any;
|
|
3785
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3786
|
-
boolean: {
|
|
3787
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
3788
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3789
|
-
number: any;
|
|
3790
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3791
|
-
numberOrNull: any;
|
|
3792
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3793
|
-
string: any;
|
|
3794
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3795
|
-
stringOrNull: any;
|
|
3796
|
-
boolean: any;
|
|
3797
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3798
|
-
booleanOrNull: any;
|
|
3799
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3800
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3801
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3802
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3803
|
-
};
|
|
3804
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3805
|
-
booleanOrNull: any;
|
|
3806
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3807
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3808
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3809
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3810
|
-
};
|
|
3811
|
-
/** Shorthand for `sql<boolean>`; does not cast or convert the SQL result. */
|
|
3812
|
-
boolean: {
|
|
3813
|
-
(strings: TemplateStringsArray, ...values: unknown[]): Expr<boolean, never>;
|
|
3814
|
-
/** Shorthand for `sql<number>`; does not cast or convert the SQL result. */
|
|
3815
|
-
number: any;
|
|
3816
|
-
/** Shorthand for `sql<number | null>`; does not cast or convert the SQL result. */
|
|
3817
|
-
numberOrNull: any;
|
|
3818
|
-
/** Shorthand for `sql<string>`; does not cast or convert the SQL result. */
|
|
3819
|
-
string: any;
|
|
3820
|
-
/** Shorthand for `sql<string | null>`; does not cast or convert the SQL result. */
|
|
3821
|
-
stringOrNull: any;
|
|
3822
|
-
boolean: any;
|
|
3823
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3824
|
-
booleanOrNull: any;
|
|
3825
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3826
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3827
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3828
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3829
|
-
};
|
|
3830
|
-
/** Shorthand for `sql<boolean | null>`; does not cast or convert the SQL result. */
|
|
3831
|
-
booleanOrNull: /*elided*/ any;
|
|
3832
|
-
/** A raw condition for `where`, `having`, or `on`. */
|
|
3833
|
-
condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3834
|
-
/** A column Joist does not model, on a source that is in the query. */
|
|
3835
|
-
ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3836
|
-
};
|
|
561
|
+
var number: (strings: TemplateStringsArray, ...values: unknown[]) => Expr<number, never>;
|
|
562
|
+
var numberOrNull: (strings: TemplateStringsArray, ...values: unknown[]) => Expr<number | null, never>;
|
|
563
|
+
var numberArray: (strings: TemplateStringsArray, ...values: unknown[]) => Expr<number[], never>;
|
|
564
|
+
var numberArrayOrNull: (strings: TemplateStringsArray, ...values: unknown[]) => Expr<number[] | null, never>;
|
|
565
|
+
var string: (strings: TemplateStringsArray, ...values: unknown[]) => Expr<string, never>;
|
|
566
|
+
var stringOrNull: (strings: TemplateStringsArray, ...values: unknown[]) => Expr<string | null, never>;
|
|
567
|
+
var stringArray: (strings: TemplateStringsArray, ...values: unknown[]) => Expr<string[], never>;
|
|
568
|
+
var stringArrayOrNull: (strings: TemplateStringsArray, ...values: unknown[]) => Expr<string[] | null, never>;
|
|
569
|
+
var boolean: (strings: TemplateStringsArray, ...values: unknown[]) => Expr<boolean, never>;
|
|
570
|
+
var booleanOrNull: (strings: TemplateStringsArray, ...values: unknown[]) => Expr<boolean | null, never>;
|
|
571
|
+
var booleanArray: (strings: TemplateStringsArray, ...values: unknown[]) => Expr<boolean[], never>;
|
|
572
|
+
var booleanArrayOrNull: (strings: TemplateStringsArray, ...values: unknown[]) => Expr<boolean[] | null, never>;
|
|
3837
573
|
var condition: (strings: TemplateStringsArray, ...values: unknown[]) => SqlCondition;
|
|
3838
574
|
var ref: <R = unknown>(source: QuerySource, column: string) => Expr<R, string>;
|
|
3839
575
|
}
|