Skip to content

Instantly share code, notes, and snippets.

export const getCarModelsByViPart = async (viPartToFind) => {
try {
return await local_database_models.find({
selector: {vi_part: vinPartToFind}
});
}
catch (err) {
return err;
}
}
@to175
to175 / database.pouchdb
Created September 10, 2018 08:17
Database dump
[
{"id":"ondar","name":"X Camion","vi_part":"PM","range_id":"bibi","_id":"ondar","_rev":"1-4387f840e9a5476b917695f6407813be"},
{"id":"ondar2","name":"Y Camroune","vi_part":"PX","range_id":"bibi","_id":"ondar2","_rev":"1-feb7957d7e2f493a901c52ed09eb76c7"},
{"id":"onyx","name":"VI Limousine","vi_part":"PR","range_id":"bubu","_id":"onyx","_rev":"1-6d9b1398aaae493dba03308fab57f072"},
{"id":"onyx2","name":"VII Limousine","vi_part":"PK","range_id":"bubu","_id":"onyx2","_rev":"1-14e0f44a45eb43beb9497987c85c666d"}
]
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@babel/code-frame@7.0.0-beta.40":
version "7.0.0-beta.40"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.40.tgz#37e2b0cf7c56026b4b21d3927cadf81adec32ac6"
dependencies:
"@babel/highlight" "7.0.0-beta.40"
{
"name": "HuberApp",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"metro-react-native-babel-preset": "^0.44.0",