@earth-app/collegedb 1.1.2 → 1.1.3
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/README.md +169 -36
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -9
- package/dist/index.js.map +4 -4
- package/dist/router.d.ts +258 -0
- package/dist/router.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/router.d.ts
CHANGED
|
@@ -335,6 +335,40 @@ export declare function all<T = Record<string, unknown>>(key: string, sql: strin
|
|
|
335
335
|
* }
|
|
336
336
|
*/
|
|
337
337
|
export declare function first<T = Record<string, unknown>>(key: string, sql: string, bindings?: any[]): Promise<T | null>;
|
|
338
|
+
/**
|
|
339
|
+
* Retrieves all records using a secondary lookup key when available.
|
|
340
|
+
*
|
|
341
|
+
* This helper attempts to resolve the lookup key through KV first. If a mapping
|
|
342
|
+
* exists, the query executes on that shard directly. If the mapping is missing,
|
|
343
|
+
* stale, or returns no rows, the helper safely falls back to fanout (`allAllShards`)
|
|
344
|
+
* and returns merged results.
|
|
345
|
+
*
|
|
346
|
+
* @template T - Type of the result records
|
|
347
|
+
* @param lookupKey - Secondary key such as `email:user@example.com` or `username:alice`
|
|
348
|
+
* @param sql - SQL statement to execute
|
|
349
|
+
* @param bindings - Parameter values to bind to the SQL statement
|
|
350
|
+
* @param batchSize - Number of concurrent shard queries during fanout (default: 50)
|
|
351
|
+
* @returns Promise resolving to merged query results
|
|
352
|
+
* @since 1.1.4
|
|
353
|
+
*/
|
|
354
|
+
export declare function allByLookupKey<T = Record<string, unknown>>(lookupKey: string, sql: string, bindings?: any[], batchSize?: number): Promise<QueryResult<T>>;
|
|
355
|
+
/**
|
|
356
|
+
* Retrieves the first record using a secondary lookup key when available.
|
|
357
|
+
*
|
|
358
|
+
* This helper avoids creating new primary-key mappings for secondary identifiers.
|
|
359
|
+
* It first checks KV for a lookup-key mapping and queries that shard directly.
|
|
360
|
+
* If no mapping exists (or the mapping is stale), it falls back to fanout
|
|
361
|
+
* (`firstAllShards`) and returns the first non-null result.
|
|
362
|
+
*
|
|
363
|
+
* @template T - Type of the result record
|
|
364
|
+
* @param lookupKey - Secondary key such as `email:user@example.com` or `username:alice`
|
|
365
|
+
* @param sql - SQL statement to execute
|
|
366
|
+
* @param bindings - Parameter values to bind to the SQL statement
|
|
367
|
+
* @param batchSize - Number of concurrent shard queries during fanout (default: 50)
|
|
368
|
+
* @returns Promise resolving to the first matching record, or null
|
|
369
|
+
* @since 1.1.4
|
|
370
|
+
*/
|
|
371
|
+
export declare function firstByLookupKey<T = Record<string, unknown>>(lookupKey: string, sql: string, bindings?: any[], batchSize?: number): Promise<T | null>;
|
|
338
372
|
/**
|
|
339
373
|
* Reassigns a primary key to a different shard
|
|
340
374
|
*
|
|
@@ -536,6 +570,40 @@ export declare function runAllShards<T = Record<string, unknown>>(sql: string, b
|
|
|
536
570
|
* @since 1.0.4
|
|
537
571
|
*/
|
|
538
572
|
export declare function allAllShards<T = Record<string, unknown>>(sql: string, bindings?: any[], batchSize?: number): Promise<QueryResult<T>[]>;
|
|
573
|
+
/**
|
|
574
|
+
* Options for global all-shards merge/sort/pagination.
|
|
575
|
+
* @since 1.1.4
|
|
576
|
+
*/
|
|
577
|
+
export interface GlobalAllShardsOptions<T = Record<string, unknown>> {
|
|
578
|
+
/** Number of concurrent shard queries to run at once (default: 50). */
|
|
579
|
+
batchSize?: number;
|
|
580
|
+
/** Number of rows to skip after global merge/sort (default: 0). */
|
|
581
|
+
offset?: number;
|
|
582
|
+
/** Maximum rows to return after global merge/sort. */
|
|
583
|
+
limit?: number;
|
|
584
|
+
/** Field name or selector used for global sorting. */
|
|
585
|
+
sortBy?: keyof T | ((row: T) => unknown);
|
|
586
|
+
/** Sort direction for `sortBy` (default: `asc`). */
|
|
587
|
+
sortDirection?: 'asc' | 'desc';
|
|
588
|
+
/** Optional custom comparator; takes precedence over `sortBy`. */
|
|
589
|
+
comparator?: (left: T, right: T) => number;
|
|
590
|
+
/** Optional global row filter applied before sort/paginate. */
|
|
591
|
+
filter?: (row: T) => boolean;
|
|
592
|
+
}
|
|
593
|
+
/**
|
|
594
|
+
* Executes a query on all shards and applies global merge/sort/pagination in-library.
|
|
595
|
+
*
|
|
596
|
+
* Unlike `allAllShards`, this helper returns a single merged `QueryResult` and can
|
|
597
|
+
* sort/paginate across the full combined result set after fanout.
|
|
598
|
+
*
|
|
599
|
+
* @template T - Type of the result records
|
|
600
|
+
* @param sql - SQL statement to execute on each shard
|
|
601
|
+
* @param bindings - Parameter values to bind to the SQL statement
|
|
602
|
+
* @param options - Global merge/sort/pagination options
|
|
603
|
+
* @returns Promise resolving to one globally-processed query result
|
|
604
|
+
* @since 1.1.4
|
|
605
|
+
*/
|
|
606
|
+
export declare function allAllShardsGlobal<T = Record<string, unknown>>(sql: string, bindings?: any[], options?: GlobalAllShardsOptions<T>): Promise<QueryResult<T>>;
|
|
539
607
|
/**
|
|
540
608
|
* Executes a query on all shards and returns the first matching record from each shard.
|
|
541
609
|
*
|
|
@@ -549,6 +617,18 @@ export declare function allAllShards<T = Record<string, unknown>>(sql: string, b
|
|
|
549
617
|
* @since 1.0.4
|
|
550
618
|
*/
|
|
551
619
|
export declare function firstAllShards<T = Record<string, unknown>>(sql: string, bindings?: any[], batchSize?: number): Promise<(T | null)[]>;
|
|
620
|
+
/**
|
|
621
|
+
* Executes a query on all shards with global merge/sort/pagination and returns
|
|
622
|
+
* the first row after global processing.
|
|
623
|
+
*
|
|
624
|
+
* @template T - Type of the result record
|
|
625
|
+
* @param sql - SQL statement to execute on each shard
|
|
626
|
+
* @param bindings - Parameter values to bind to the SQL statement
|
|
627
|
+
* @param options - Global merge/sort/pagination options (batchSize, sort, offset)
|
|
628
|
+
* @returns Promise resolving to the first globally-processed row, or null
|
|
629
|
+
* @since 1.1.4
|
|
630
|
+
*/
|
|
631
|
+
export declare function firstAllShardsGlobal<T = Record<string, unknown>>(sql: string, bindings?: any[], options?: Omit<GlobalAllShardsOptions<T>, 'limit'>): Promise<T | null>;
|
|
552
632
|
/**
|
|
553
633
|
* Flushes all shard mappings (development only)
|
|
554
634
|
*
|
|
@@ -595,4 +675,182 @@ export declare function flush(): Promise<void>;
|
|
|
595
675
|
* ```
|
|
596
676
|
*/
|
|
597
677
|
export declare function getDatabaseSizeForShard(shardBinding: string): Promise<number>;
|
|
678
|
+
/**
|
|
679
|
+
* Column specification for index creation helpers.
|
|
680
|
+
* @since 1.1.4
|
|
681
|
+
*/
|
|
682
|
+
export interface IndexColumnDefinition {
|
|
683
|
+
/** Column name to include in the index. */
|
|
684
|
+
name: string;
|
|
685
|
+
/** Optional sort direction for this column. */
|
|
686
|
+
order?: 'ASC' | 'DESC';
|
|
687
|
+
/** Optional collation (e.g., NOCASE). */
|
|
688
|
+
collate?: string;
|
|
689
|
+
}
|
|
690
|
+
/**
|
|
691
|
+
* Options for index creation helpers.
|
|
692
|
+
* @since 1.1.4
|
|
693
|
+
*/
|
|
694
|
+
export interface CreateIndexOptions {
|
|
695
|
+
/** Explicit index name. When omitted, a deterministic name is generated. */
|
|
696
|
+
indexName?: string;
|
|
697
|
+
/** Create a unique index. */
|
|
698
|
+
unique?: boolean;
|
|
699
|
+
/** Include `IF NOT EXISTS` in generated SQL. @default true */
|
|
700
|
+
ifNotExists?: boolean;
|
|
701
|
+
/** Optional partial-index predicate (trusted SQL only). */
|
|
702
|
+
where?: string;
|
|
703
|
+
/** Number of concurrent shard operations for all-shard variants. @default 50 */
|
|
704
|
+
batchSize?: number;
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* Creates an index on the shard resolved by the provided key.
|
|
708
|
+
*
|
|
709
|
+
* @param key - Primary key used for shard routing
|
|
710
|
+
* @param table - Target table name
|
|
711
|
+
* @param columns - One or more columns to index
|
|
712
|
+
* @param options - Index creation options
|
|
713
|
+
* @returns Query result for the DDL statement
|
|
714
|
+
* @since 1.1.4
|
|
715
|
+
*/
|
|
716
|
+
export declare function index<T = Record<string, unknown>>(key: string, table: string, columns: string | string[] | IndexColumnDefinition[], options?: Omit<CreateIndexOptions, 'batchSize'>): Promise<QueryResult<T>>;
|
|
717
|
+
/**
|
|
718
|
+
* Creates an index directly on a specific shard.
|
|
719
|
+
*
|
|
720
|
+
* @param shardBinding - Shard binding name
|
|
721
|
+
* @param table - Target table name
|
|
722
|
+
* @param columns - One or more columns to index
|
|
723
|
+
* @param options - Index creation options
|
|
724
|
+
* @returns Query result for the DDL statement
|
|
725
|
+
* @since 1.1.4
|
|
726
|
+
*/
|
|
727
|
+
export declare function indexShard<T = Record<string, unknown>>(shardBinding: string, table: string, columns: string | string[] | IndexColumnDefinition[], options?: Omit<CreateIndexOptions, 'batchSize'>): Promise<QueryResult<T>>;
|
|
728
|
+
/**
|
|
729
|
+
* Creates an index across all configured shards.
|
|
730
|
+
*
|
|
731
|
+
* @param table - Target table name
|
|
732
|
+
* @param columns - One or more columns to index
|
|
733
|
+
* @param options - Index creation options, including `batchSize`
|
|
734
|
+
* @returns Per-shard query results
|
|
735
|
+
* @since 1.1.4
|
|
736
|
+
*/
|
|
737
|
+
export declare function indexAllShards<T = Record<string, unknown>>(table: string, columns: string | string[] | IndexColumnDefinition[], options?: CreateIndexOptions): Promise<QueryResult<T>[]>;
|
|
738
|
+
/**
|
|
739
|
+
* Explain helpers options.
|
|
740
|
+
* @since 1.1.4
|
|
741
|
+
*/
|
|
742
|
+
export interface ExplainOptions {
|
|
743
|
+
/** Explain mode. @default query-plan */
|
|
744
|
+
mode?: 'query-plan' | 'raw' | 'analyze';
|
|
745
|
+
/** Number of concurrent shard operations for all-shard variants. @default 50 */
|
|
746
|
+
batchSize?: number;
|
|
747
|
+
}
|
|
748
|
+
/**
|
|
749
|
+
* Executes an explain query on the shard resolved by key.
|
|
750
|
+
*
|
|
751
|
+
* @param key - Primary key used for shard routing
|
|
752
|
+
* @param sql - SQL statement to inspect
|
|
753
|
+
* @param bindings - Parameter values for the SQL statement
|
|
754
|
+
* @param options - Explain mode options
|
|
755
|
+
* @returns Explain rows as a QueryResult
|
|
756
|
+
* @since 1.1.4
|
|
757
|
+
*/
|
|
758
|
+
export declare function explain<T = Record<string, unknown>>(key: string, sql: string, bindings?: any[], options?: Omit<ExplainOptions, 'batchSize'>): Promise<QueryResult<T>>;
|
|
759
|
+
/**
|
|
760
|
+
* Executes an explain query on a specific shard.
|
|
761
|
+
*
|
|
762
|
+
* @param shardBinding - Shard binding name
|
|
763
|
+
* @param sql - SQL statement to inspect
|
|
764
|
+
* @param bindings - Parameter values for the SQL statement
|
|
765
|
+
* @param options - Explain mode options
|
|
766
|
+
* @returns Explain rows as a QueryResult
|
|
767
|
+
* @since 1.1.4
|
|
768
|
+
*/
|
|
769
|
+
export declare function explainShard<T = Record<string, unknown>>(shardBinding: string, sql: string, bindings?: any[], options?: Omit<ExplainOptions, 'batchSize'>): Promise<QueryResult<T>>;
|
|
770
|
+
/**
|
|
771
|
+
* Executes an explain query across all shards.
|
|
772
|
+
*
|
|
773
|
+
* @param sql - SQL statement to inspect
|
|
774
|
+
* @param bindings - Parameter values for the SQL statement
|
|
775
|
+
* @param options - Explain options, including `batchSize`
|
|
776
|
+
* @returns Per-shard explain query results
|
|
777
|
+
* @since 1.1.4
|
|
778
|
+
*/
|
|
779
|
+
export declare function explainAllShards<T = Record<string, unknown>>(sql: string, bindings?: any[], options?: ExplainOptions): Promise<QueryResult<T>[]>;
|
|
780
|
+
/**
|
|
781
|
+
* Table row-count result for a shard.
|
|
782
|
+
* @since 1.1.4
|
|
783
|
+
*/
|
|
784
|
+
export interface ShardTableCount {
|
|
785
|
+
shard: string;
|
|
786
|
+
count: number | null;
|
|
787
|
+
success: boolean;
|
|
788
|
+
error?: string;
|
|
789
|
+
}
|
|
790
|
+
/**
|
|
791
|
+
* Counts rows for a table on the shard resolved by key.
|
|
792
|
+
*
|
|
793
|
+
* @param key - Primary key used for shard routing
|
|
794
|
+
* @param table - Table name to count
|
|
795
|
+
* @returns Row count for that routed shard
|
|
796
|
+
* @since 1.1.4
|
|
797
|
+
*/
|
|
798
|
+
export declare function count(key: string, table: string): Promise<number>;
|
|
799
|
+
/**
|
|
800
|
+
* Counts rows for a table on a specific shard.
|
|
801
|
+
*
|
|
802
|
+
* @param shardBinding - Shard binding name
|
|
803
|
+
* @param table - Table name to count
|
|
804
|
+
* @returns Row count for the shard
|
|
805
|
+
* @since 1.1.4
|
|
806
|
+
*/
|
|
807
|
+
export declare function countShard(shardBinding: string, table: string): Promise<number>;
|
|
808
|
+
/**
|
|
809
|
+
* Counts rows for a table across all shards.
|
|
810
|
+
*
|
|
811
|
+
* @param table - Table name to count
|
|
812
|
+
* @param batchSize - Number of concurrent shard queries (default: 50)
|
|
813
|
+
* @returns Per-shard counts and global total
|
|
814
|
+
* @since 1.1.4
|
|
815
|
+
*/
|
|
816
|
+
export declare function countAllShards(table: string, batchSize?: number): Promise<{
|
|
817
|
+
total: number;
|
|
818
|
+
shards: ShardTableCount[];
|
|
819
|
+
}>;
|
|
820
|
+
/**
|
|
821
|
+
* Size information for a shard.
|
|
822
|
+
* @since 1.1.4
|
|
823
|
+
*/
|
|
824
|
+
export interface ShardSizeResult {
|
|
825
|
+
shard: string;
|
|
826
|
+
size: number | null;
|
|
827
|
+
success: boolean;
|
|
828
|
+
error?: string;
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* Gets the size in bytes for the shard resolved by key.
|
|
832
|
+
*
|
|
833
|
+
* @param key - Primary key used for shard routing
|
|
834
|
+
* @returns Database size in bytes
|
|
835
|
+
* @since 1.1.4
|
|
836
|
+
*/
|
|
837
|
+
export declare function getDatabaseSizeForKey(key: string): Promise<number>;
|
|
838
|
+
/**
|
|
839
|
+
* Gets database sizes for all shards.
|
|
840
|
+
*
|
|
841
|
+
* @param batchSize - Number of concurrent shard queries (default: 50)
|
|
842
|
+
* @returns Per-shard size results with success/error status
|
|
843
|
+
* @since 1.1.4
|
|
844
|
+
*/
|
|
845
|
+
export declare function getDatabaseSizesAllShards(batchSize?: number): Promise<ShardSizeResult[]>;
|
|
846
|
+
/**
|
|
847
|
+
* Gets the combined size in bytes across all shards.
|
|
848
|
+
*
|
|
849
|
+
* Failed shard size checks are excluded from the sum.
|
|
850
|
+
*
|
|
851
|
+
* @param batchSize - Number of concurrent shard queries (default: 50)
|
|
852
|
+
* @returns Total size in bytes across successfully measured shards
|
|
853
|
+
* @since 1.1.4
|
|
854
|
+
*/
|
|
855
|
+
export declare function getTotalDatabaseSize(batchSize?: number): Promise<number>;
|
|
598
856
|
//# sourceMappingURL=router.d.ts.map
|
package/dist/router.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../src/router.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAGzD,OAAO,KAAK,EACX,eAAe,EACf,QAAQ,EAER,iBAAiB,EACjB,WAAW,EACX,WAAW,EAEX,UAAU,EAEV,MAAM,SAAS,CAAC;AA6CjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,eAAe,QA0BjD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,wBAAsB,eAAe,CAAC,MAAM,EAAE,eAAe,iBAuB5D;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAsB,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,CAAC,cAG5E;AA8DD;;;;;GAKG;AACH,wBAAgB,WAAW,IAAI,IAAI,CAIlC;AAkGD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,QAAQ,CAkIjE;AAkVD;;;;;;;;;;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