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

Indexes #10

Open
Riz-waan opened this issue Jan 23, 2023 · 2 comments
Open

Indexes #10

Riz-waan opened this issue Jan 23, 2023 · 2 comments

Comments

@Riz-waan
Copy link

How do I add database indexes to the columns?

@Jankyz
Copy link

Jankyz commented Mar 22, 2023

Note that a property of $id is added to the model when you do extends BaseModel so you do not need to add that.

if you meant about id as index

https://github.com/rjjakes/wordpress-orm#readme

@Riz-waan
Copy link
Author

Riz-waan commented May 4, 2023

I meant like a custom index on certain columns for faster querying?

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

No branches or pull requests

2 participants