Page tree

This page has not yet been translated to English.

Skip to end of metadata
Go to start of metadata

Finding the existing document by its ID.

Example:

Charon.exe DATA FIND --dataBase c:\myapp\gamedata.json --entity Character --id MyCharacter

Command parameters

Parameter

Type

Required

Description

Example

dataBase

string

yes

Path to game data file. Use quotation marks if your path contains spaces.

"c:\my app\gamedata.json"
/User/Data/gamedata.json
entity

list of strings

yes

Name or identifier of entity.

Character

id

string

yes

ID of an original document.

MyCharacter

output

file, err, null, out, url

no

Path to the file to which found document (or error message) will be written. If the file exists, it will be overwritten. The directory must already exist. Alternatively, you can use output to Standart Error, Standart Output, dev/null & URL.
Default: null.

"c:\my app\output.json"
/User/Data/output.json
http://example.com/output.json
outputFormat

json, bson, msgpack, xml, xlsx

no

Format to use when saving output data. See Supported data formats for more information.

Default: json.


outputFormattingOptions

See Supported data formats

no

Additional formatting parameters for output data. Depend on selected data format.


Related pages