-
-
Save parzibyte/90da4a749389e22778ae0ceade50e109 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import PouchDB from "pouchdb"; | |
import PouchdbFind from 'pouchdb-find'; | |
PouchDB.plugin(PouchdbFind); | |
const db = new PouchDB('rutas'); | |
// Para poder ordenar por hora en los horarios | |
db.createIndex({ | |
index: {fields: ['hora']} | |
}); | |
export default db; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment