Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quick.db support #35

Closed
wants to merge 1 commit into from
Closed

quick.db support #35

wants to merge 1 commit into from

Conversation

Dragonizedpizza
Copy link

No description provided.

@Dragonizedpizza
Copy link
Author

this is a work in progress

@Dragonizedpizza
Copy link
Author

I was thinking of something like:

let DiscordXp;
If (DBName === 'quick.db') DiscordXp = require('./quick.db.js')
else if (DBName === 'mongoose') DiscordXp = require('./mongoose.js')
module.exports = DiscordXp;

And quick.db.js and mongoose's contents being something like:

static async createUser() {
// contents for each db
}

Copy link
Owner

@MrAugu MrAugu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The master branch will be deprecated soon. We began the works for the rewrite, you can check the progress in the rewrite. You can create a quicker provider for the rewrite instead.

@Myst82015
Copy link
Collaborator

As MrAugu said. Check out the development branch and create a provider similar like the one from json or mongoose.

@Myst82015
Copy link
Collaborator

Since you didn't follow the format of a proper database provider and we didn't hear anything from you so far I'll close this pull request for now.

@Myst82015 Myst82015 closed this Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants