# Page Not Found

The URL `guides/active-record-with-cql/relations/hasone` does not exist. This page may have been moved, renamed, or deleted.

## Suggested Pages

You may be looking for one of the following:
- [Set Up Has One](https://azutopia.gitbook.io/cql/relationships/has-one.md)
- [Repository Pattern](https://azutopia.gitbook.io/cql/explanation/active-record/repository.md)
- [Set Up Has Many](https://azutopia.gitbook.io/cql/relationships/has-many.md)
- [Part 3: Models and Relationships](https://azutopia.gitbook.io/cql/tutorials/01-project-setup/03-models-and-relationships.md)
- [Add Validations](https://azutopia.gitbook.io/cql/models/add-validations.md)

## How to find the correct page

If the exact page cannot be found, you can still retrieve the information using the documentation query interface.

### Option 1 — Ask a question (recommended)

Perform an HTTP GET request on the documentation index with the `ask` parameter:

```
GET https://azutopia.gitbook.io/cql/relationships/has-one.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

### Option 2 — Browse the documentation index

Full index: https://azutopia.gitbook.io/cql/sitemap.md

Use this to discover valid page paths or navigate the documentation structure.

### Option 3 — Retrieve the full documentation corpus

Full export: https://azutopia.gitbook.io/cql/llms-full.txt

Use this to access all content at once and perform your own parsing or retrieval. It will be more expensive.

## Tips for requesting documentation

Prefer `.md` URLs for structured content, append `.md` to URLs (e.g., `/cql/relationships/has-one.md`).

You may also use `Accept: text/markdown` header for content negotiation.
