Update libretroDB

This commit is contained in:
twinaphex 2015-01-20 03:36:50 +01:00
parent b292410a0b
commit d94dd61642
2 changed files with 18 additions and 0 deletions

View File

@ -53,3 +53,16 @@ for example:
dat_converter snes.rdb rom.crc snes1.dat snes2.dat
~~~
# Query examples
Some examples of queries you can use with rarchdbtool:
1) Glob pattern matching
Usecase : Search for all games containing 'Street Fighter' in the 'name' field (glob pattern matching)
`rarchdb_tool <db file> find "{'name':glob('Street Fighter*')}"`
2) Combined number matching query
Usecase: Search for all games released on October 1995.
`rarchdb_tool <db file> find "{'releasemonth':10,'releaseyear':1995}"`

View File

@ -149,11 +149,16 @@ function get_value()
releaseyear = uint(tonumber(t.releaseyear)),
rumble = uint(tonumber(t.rumble)),
analog = uint(tonumber(t.analog)),
edge_rating = uint(tonumber(t.edge_rating)),
edge_issue = uint(tonumber(t.edge_issue)),
barcode = t.barcode,
esrb_rating = t.esrb_rating,
elspa_rating = t.elspa_rating,
pegi_rating = t.pegi_rating,
cero_rating = t.cero_rating,
serial = binary(t.serial),
developers = t.developers,
publisher = t.publisher,