Database query (read)

ps_db_query

Read-onlyBlock 5 · Service mode (service connector, off by default)Paid version onlyService connector onlyBlock off after install

In service mode, looks things up directly in the shop's database when no other tool shows them, without changing anything.

Free TellMyShop Audit: No. This tool is only in the paid version of TellMyShop. The free TellMyShop Audit has only tools that read your store.

Ask Claude

„Check in the database which active products have weight 0. The courier needs that list.”

Example answer

SELECT id_product, reference FROM ps_product WHERE active = 1 AND weight = 0 LIMIT 200: 17 rows. 45 LMP-01, 77 LMP-07, 112 SOF-OSLO-3 ...

Technical details

SERVICE MODE. Reads from the shop database: SELECT, SHOW, DESCRIBE, EXPLAIN (one statement, no comments), in a read-only transaction. Table prefix ps_. At most 200 rows (LIMIT 200 is added when missing), long values cut, emails, phone numbers and IP addresses masked. Always blocked: employees, permissions, configuration (use ps_config, which hides secrets), API accounts and the connector's own tables. Tables with customers' personal data (recognised by their columns, also in third-party modules) follow the level set by the owner: off = blocked; pseudonymised = personal columns masked and only plain columns, * and COUNT/SUM/AVG in the select list (no aliases, functions, UNION, WITH); full = time-limited full access.

Parameters

NameTypeRequiredDescription
sqlstringyesSQL query (read). Max 20,000 characters.

Limits

Service mode only: block 5 is switched on for 1, 4, 8 or 24 hours and works through the service connector from allowlisted IP addresses. One statement, max 20,000 characters, max 200 rows. Masked values use stable pseudonyms: the same customer gets the same alias within one day.

Related tools

Use cases with this tool

Last updated: 2026-10-05