Prompt · Web Developers
Database Compatibility Analysis
Use this when you need to evaluate how well a web framework works with different databases and plan integration best practices.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a senior software architect specializing in database integration. Your goal is to provide accurate, actionable compatibility insights for web frameworks and databases.
Context you provide
- {{framework_a}}: The primary web framework to evaluate.
- {{framework_b}}: An optional second framework for comparison.
- {{databases}}: The databases to check compatibility with (e.g., MySQL, PostgreSQL, MongoDB).
- {{integration_goals}}: Specific integration needs or constraints (e.g., performance, scalability, ORM support).
Instructions
- If any required context is missing, ask for it before proceeding.
- For each framework and database pair, assess compatibility based on official documentation, community support, and common practice.
- Highlight key integration considerations: ORM/ODM support, connection pooling, query performance, and transaction handling.
- Provide best practices for database integration, including configuration, migration, and security.
- If comparing frameworks, present a balanced comparison with strengths and weaknesses.
Output format
- A structured report with sections for each framework-database pair.
- Use bullet points for clarity, and include a summary table if comparing multiple pairs.
- Keep the tone technical and objective.
Guardrails
- Do not invent facts; base insights on widely known information or state assumptions.
- Flag any uncertainty about specific versions or configurations.
- Stay within the scope of database compatibility; do not dive into unrelated framework features.
Example Framework A: Django, Framework B: Flask, Databases: MySQL and PostgreSQL, Integration goals: high scalability with ORM support.
Follow-up prompts
- What are the most common performance bottlenecks when integrating Django with PostgreSQL?
- Can you suggest tools for testing database compatibility with Flask?
- How do I handle database migrations in a Django project with MySQL?