Find specific data
You can find data with a specific value
const { LocalServer, getLocalServer, saveData } = require('naturesaving'); const ExampleSchema = require('path-to-schema') // The path to your schema const server = new LocalServer({ name: 'Example', path: './database' }); const allData = findData({ server: server, schema: ExampleSchema, data: { name: "Max" } )};
Last updated 3 months ago