Skip to content

Commit

Permalink
Add comment about diff tests (#1302)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi committed Oct 24, 2022
1 parent e0635a3 commit e757e4b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions website/docs/diff.md
Expand Up @@ -4,15 +4,18 @@ sidebar_position: 6

# Known differences

<!-- Each point should have a corresponding test file in https://github.com/FerretDB/dance/tree/main/tests/diff -->

1. FerretDB uses the same protocol error names and codes, but the exact error messages may be different in some cases.
2. FerretDB does not support NUL (`\0`) characters in strings.
3. Document keys must not contain `$` sign.
4. Database and collection names restrictions:
* name cannot start with the reserved prefix `_ferretdb_`;
* name must not include non-latin letters, spaces, dots, dollars or dashes;
* collection name length must be less or equal than 120 symbols, database name length limit is 63 symbols;
* name must not start with a number;
* database name cannot contain capital letters.
* database name cannot contain capital letters;
* database name length cannot be more than 63 characters;
* collection name length cannot be more than 120 characters.
5. For Tigris, FerretDB requires Tigris schema validation for `create` command: validator must be set as `$tigrisSchemaString`.
The value must be a JSON string representing JSON schema in [Tigris format](https://docs.tigrisdata.com/overview/schema).

Expand Down

1 comment on commit e757e4b

@vercel
Copy link

@vercel vercel bot commented on e757e4b Oct 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ferret-db – ./

ferret-db-git-main-ferretdb.vercel.app
ferret-db-ferretdb.vercel.app
ferret-db.vercel.app

Please sign in to comment.