# CBORM Compatibility Shim

To assist you in migrating from CBORM, Quick ships with a small compatibility shim. To use it, have your entity extend `quick.models.CBORMCompatEntity`. This will map common CBORM methods to their Quick counterparts as well as provide a partial CriteriaBuilder shim. The compatibility shim does not cover differences in properties or relationships.

## Entity / Service Methods

* list
* countWhere
* deleteById
* deleteWhere
* exists
* findAllWhere
* findWhere
* get
* getAll
* new
* populate
* save
* saveAll
* newCriteria

## Criteria Builder Methods

* getSQL
* between
* eqProperty
* isEQ
* isGT
* gtProperty
* isGE
* geProperty
* idEQ
* like
* ilike
* isIn
* isNull
* isNotNull
* isLT
* ltProperty
* neProperty
* isLE
* leProperty
* maxResults
* firstResult
* order
* list
* get
* count
* onMissingMethod


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://quick.ortusbooks.com/2.0.0/cborm-compatibility-shim.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.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
