Spanish Total.js
English
Documentation For AI agents
Contents

See functions, triggers and more

Below the tables, the list has the rest of what your database holds, each with the SQL that makes it: to read it, to copy it or to change it.

.md GitHub
On this page

What each database has

SectionPostgreSQLMySQL and MariaDBSQL ServerSQLite
FunctionsYesYesYesNo
ProceduresYesYesYesNo
SequencesYesNoYesNo
TypesYesNoYesNo
TriggersYesYesYesYes
EventsNoYesNoNo
ExtensionsYesNoNoNo
Extensions to addYesNoNoNo
Roles and usersYesYesYesNo

Press a section to unfold it. Find a table also looks in the names of these things.

If your user may not read a section, the end of the list says so: Not readable with this user.

See how something is made

Press it. A tab opens with its SQL. Copy copies it, and Reload reads it again.

For a user of MySQL or MariaDB, the SQL has its permissions. Passwords are never shown. The range types of PostgreSQL and the table types of SQL Server have only a note, without their SQL.

Change it

  1. Press Change it in a query. The SQL goes to a new query.
  2. Change it there, and press Run.

The functions and procedures of PostgreSQL come as CREATE OR REPLACE, which takes the place of the old one. In the other cases the SQL is a CREATE, and the database refuses it while the old one exists. Write a DROP before it, or change CREATE to ALTER in the functions, procedures and triggers of SQL Server.

A DROP that runs before a CREATE with an error leaves you without the thing. Copy its SQL before you begin.

Make a new one

Press the plus of the section. A query opens with a first draft in the words of your database, for example New function… Change the names and the body, and run it. Extensions and roles have no draft.

Add an extension of PostgreSQL

Extensions to add has those that the server offers and the database does not have yet. Press one, then Change it in a query, and Run. Your user needs permission for it.

Made in Europe