Jump to content

In-build SQL


'LinKin

Recommended Posts

Posted

MTA's executeSQLQuery uses SQLite, I assume anything possible with SQLite is also possible with executeSQLQuery. However, as far as I know, the only primary key in MTA is predefined, 'rowid'.

Posted

First of all, do not use executeSQLQuery, it lacks support for callbacks and hangs the whole server till the data is selected. Use the newer db* functions.

Primary and foreign keys should work just fine.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...