mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-02 07:53:41 +08:00
applyLimit() silently capped all results to maxRows (default 200), even when the user specified a higher LIMIT clause. This caused queries like MATCH (f:Function) RETURN f.name LIMIT 500 to return only 200 rows, and COUNT() aggregations to silently undercount on large datasets. Now explicit LIMIT values from Cypher are respected as-is. The 200-row default still applies when no LIMIT clause is provided. Incorporates the fix from PR #40 by @re-thc. Co-authored-by: Harry Chan <38070640+re-thc@users.noreply.github.com>