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

no such export select in resource oxmysql #182

Closed
WolfBullet opened this issue Jun 13, 2023 · 3 comments
Closed

no such export select in resource oxmysql #182

WolfBullet opened this issue Jun 13, 2023 · 3 comments
Labels
invalid This doesn't seem right

Comments

@WolfBullet
Copy link

Issue checklist

Please put x inside of the box that matches your issue.

  • [ x] I am using the latest release
  • [x ] I have referenced previously reported issues
  • [x ] I have referenced available documentation and cannot resolve the issue
  • [x ] I'm certain this is an issue with oxymysql, and not with my resource

Describe the bug
I found this report "#154" and got the latest version via the provided link just to be sure and still got the same error.
I'm trying to do a simple select on a table. I'm working on a FiveM server.

Code

local data = MySQL.Select.await('Select * from player_vehicles where citizenid = ? AND vehicle = ?', {
        cid,
        vehicleModel
    })

Expected behavior
I get the data from the table

Additional context
Add any other context about the problem here.

Server details

  • FXServer artifact: 6461
  • Operating system: linux 6.0.9-060009-generic

Database details

  • MariaDB
  • Version 10.6.8-MariaDB
@WolfBullet WolfBullet added the bug Something isn't working label Jun 13, 2023
@LukeWasTakenn
Copy link
Member

#154

@LukeWasTakenn LukeWasTakenn closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2023
@LukeWasTakenn LukeWasTakenn added invalid This doesn't seem right and removed bug Something isn't working labels Jun 13, 2023
@thelindat
Copy link
Member

...

Select doesn't exist as an export because it is not and has never been an export, or a function.

@WolfBullet
Copy link
Author

omg i did not see i wrote mysql.select wow how did i not spot that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants