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

Raw statement #34

Open
kherox opened this issue Jan 26, 2023 · 1 comment
Open

Raw statement #34

kherox opened this issue Jan 26, 2023 · 1 comment

Comments

@kherox
Copy link

kherox commented Jan 26, 2023

Hello Guys,
For ORM i need to execute sql statement for database structure but nothing help me to do this.
Please add this feature like raw function to take directly sql code.
Thanks

@papac
Copy link
Member

papac commented Feb 5, 2023

use Bow\Database\Database;

Database::statement('create table users;');

@papac papac closed this as completed Feb 5, 2023
@papac papac reopened this Feb 5, 2023
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