Gambas Documentation
Application Repository
Code Snippets
Compilation & Installation
Components
gb
gb.args
gb.cairo
gb.chart
gb.clipper
gb.complex
gb.compress
gb.crypt
gb.data
gb.db
gb.db.form
gb.db.mysql
gb.db.odbc
gb.db.postgresql
gb.db.sqlite2
gb.db.sqlite3
gb.dbus
gb.dbus.trayicon
gb.debug
gb.desktop
gb.desktop.gnome.keyring
gb.desktop.x11
gb.eval
gb.eval.highlight
gb.form
gb.form.dialog
gb.form.editor
gb.form.htmlview
gb.form.mdi
gb.form.print
gb.form.stock
gb.form.terminal
gb.gmp
gb.gsl
gb.gtk
gb.gtk.opengl
gb.gtk3
gb.gtk3.opengl
gb.gtk3.webview
gb.gui
gb.gui.opengl
gb.gui.qt
gb.gui.qt.webkit
gb.gui.trayicon
gb.gui.webview
gb.hash
gb.image
gb.image.effect
gb.image.imlib
gb.image.io
gb.inotify
gb.jit
gb.libxml
gb.logging
gb.map
gb.markdown
gb.media
gb.media.form
gb.memcached
gb.mime
gb.mysql
_DataBase
_DataTypes
_Field
_Index
_MySQL
_Table
_User
_View
Connection
DB
MySQL
gb.ncurses
gb.net
gb.net.curl
gb.net.pop3
gb.net.smtp
gb.openal
gb.opengl
gb.opengl.glsl
gb.opengl.glu
gb.opengl.sge
gb.openssl
gb.option
gb.pcre
gb.pdf
gb.poppler
gb.qt4
gb.qt4.ext
gb.qt4.opengl
gb.qt4.webkit
gb.qt4.webview
gb.qt5
gb.qt5.ext
gb.qt5.opengl
gb.qt5.webkit
gb.qt5.webview
gb.report
gb.report2
gb.scanner
gb.sdl
gb.sdl.sound
gb.sdl2
gb.sdl2.audio
gb.settings
gb.signal
gb.term
gb.test
gb.util
gb.util.web
gb.v4l
gb.vb
gb.web
gb.web.feed
gb.web.form
gb.web.gui
gb.xml
gb.xml.html
gb.xml.rpc
gb.xml.xslt
Controls pictures
Deprecated components
Developer Documentation
Development Environment Documentation
Documents
Error Messages
Gambas Playground
How To's
Language Index
Language Overviews
Last Changes
Lexicon
README
Search the wiki
To Do
Topics
Tutorials
Wiki License
Wiki Manual

DB (gb.mysql)

This class reimplements DB in gb.db.
This class is static.
Static properties Static methods Constants
Returns the charset used by the database.
Charset  
Return the list of collations available in the database
Collations  
Returns or sets the current connection.
Current  
Returns a collection of all databases managed by the database server.
Databases  
Sets or returns if the database component is in debugging mode.
Debug  
Returns the code of the last error raised by the database driver.
Error  
Return the handle of the connection.
Handle  
Return or set if the database charset should be ignored.
IgnoreCharset  
Return the value of the last serial field used in an INSERT statement.
LastInsertId  
The goal of gb.mysql is to create MySQL specific routines and then send them to the gb.db to be executed.
MySQL  
Returns if the connection is opened.
Opened  
Returns a virtual collection used for managing the tables of the database.
Tables  
Returns a collection of all users registered in the database server.
Users  
Returns the version of the database that the driver has connected to.
Version  
Start a transaction.
Begin  
Close the connection.
Close  
Commit a transaction.
Commit  
Returns a read/write Result object used for creating records in the specified table.
Create  
Removes records from a database table.
Delete  
Returns a read/write result object used for editing records in the specified table.
Edit  
Executes an arbitrary SQL request, and returns a read-only Result containing the result of the request.
Exec  
Returns a read-only Result object used for querying records in the specified table.
Find  
Format some blob data into a quoted string that can be inserted into a SQL query.
FormatBlob  
Limits the number of records returned by the next query.
Limit  
Opens a connection to the specified database.
Open  
Returns a quoted identifier so that you can freely insert it into a query.
Quote  
Cancel a transaction.
Rollback  
Creates a SQL sentence by substituting its arguments into a format string.
Subst  
This constant represents a blob field datatype.
Blob  
Represents a Boolean field datatype.
Boolean  
This constant represents a Date field datatype.
Date  
This constant represents a Float field datatype.
Float  
This constant represents an Integer field datatype.
Integer  
This constant represents a Long field datatype.
Long  
This constant represents a Serial field datatype.
Serial  
This constant represents a String field datatype.
String