Harsh Mahajan

Harsh Mahajan

Corpus Hub contributor since 2026-10-06

Harsh Mahajan's work was selected for the XERJ Corpus Hub, the open reference memory AI coding agents search before they write code. When an agent meets the same problem, it gets this implementation back as a worked example, with the author and the repository attached.

1corpus
1selected commit
3files
254lines

Totals count @HarshMN2345's own selected commits. The repositories belong to their maintainers; their stars are not counted here.

What an agent can do with @HarshMN2345's commit to database

utopia-php/database: Lite & fast micro PHP database abstraction library that is **easy to use**

Example questions
Paste it into your AI agent. It clones the repo at the pinned commit and indexes it on your machine.
Search the GitHub repository utopia-php/database with XERJ (https://hub.xerj.org/corpus/utopia-php--database).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/utopia-php/database database --filter=blob:none --no-checkout && git -C database sparse-checkout set --no-cone /src/Database/ /tests/e2e/Adapter/Scopes/ && git -C database checkout 1f4ad1b36609a27e2a8e3407875e7ee274c37e12
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./database --url http://127.0.0.1:9200 --prefix database --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: MIT. Keep the copyright notice and credit the authors.

corpus utopia-php--database · Databases and storage engines
Related corpora: grpc-go, asyncapi-studio, symfony/symfony, koel/koel
Case study: reference coding for agents

Selected work

Commit to utopia-php/database

maintained by @utopia-php
1f4ad1b366 feat: fire an event for related documents a delete changed
selected commit: 3 files · 254 lines · PHP · tests, src/Database

The corpus covers only the directories this commit changed (src/Database, tests/e2e/Adapter/Scopes). The repository is @utopia-php's; this page credits @HarshMN2345 for this commit only.

live on the hub · licence clearedcorpus utopia-php--databaseDBMITutopia-frameworkhacktoberfest agreed 2026-10-06
XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/HarshMN2345/badge.svg)](https://hub.xerj.org/contributors/HarshMN2345)

Included with the author's permission (email, 2026-10-06), under each repository's own licence, with attribution. Own more repositories? Sign in with GitHub and add them. Want something removed? Reply to the email, withdraw it on /add, or open an issue on xerj-org/xerj.