@dxos/client
    Preparing search index...

    Variable fromConst

    from: (
        source:
            | Database.Database
            | Database.Database[]
            | Feed.Feed
            | Feed.Feed[]
            | Query.Any
            | QueryAST.Scope
            | "all-accessible-spaces",
        options?: { includeFeeds?: boolean },
    ) => Query.Any

    Create a query scoped to a data source. The returned query selects everything from the source; chain .select() to narrow results.

    Type declaration

      • (
            source:
                | Database.Database
                | Database.Database[]
                | Feed.Feed
                | Feed.Feed[]
                | Query.Any
                | QueryAST.Scope
                | "all-accessible-spaces",
            options?: { includeFeeds?: boolean },
        ): Query.Any
      • Parameters

        • source:
              | Database.Database
              | Database.Database[]
              | Feed.Feed
              | Feed.Feed[]
              | Query.Any
              | QueryAST.Scope
              | "all-accessible-spaces"

          Data source: database, feed, 'all-accessible-spaces', or another query.

        • Optionaloptions: { includeFeeds?: boolean }

        Returns Query.Any

        Query scoped to the given source.