Skip to main content
The Sourcegraph plugin syncs data locally. Use corsair.sourcegraph.db.<entity>.search({ data, limit?, offset? }) with the filters listed per entity.

Commits

Path: sourcegraph.db.commits.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Files

Path: sourcegraph.db.files.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Repositories

Path: sourcegraph.db.repositories.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Sites

Path: sourcegraph.db.sites.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Users

Path: sourcegraph.db.users.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.