@karmaniverous/entity-client-dynamodb
    Preparing search index...

    Function createQueryBuilder

    • Factory that produces a token-/config-aware QueryBuilder with fully inferred generics.

      Automatic inference:

      • CF (values-first config literal) is captured by EntityManager via createEntityManager(config as const) and threaded through EntityClient<C, CF>. ITS derives as IndexTokensOf.
      • Without a values-first literal (CF=unknown), ITS defaults to string.

      No generics are required at the call site.

      Type Parameters

      Parameters

      • options: {
            entityClient: EntityClient<C, CF>;
            entityToken: ET;
            hashKeyToken: C["HashKey"] | C["ShardedKeys"];
            pageKeyMap?: string;
        }

      Returns QueryBuilder<C, ET, IndexTokensOf<CF>, CF>