platform/api/laravel/Database/Schema/MySqlBuilder.yaml

95 lines
1.6 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: MySqlBuilder
class_comment: null
dependencies: []
properties: []
methods:
- name: createDatabase
visibility: public
parameters:
- name: name
comment: '# * Create a database in the schema.
# *
# * @param string $name
# * @return bool'
- name: dropDatabaseIfExists
visibility: public
parameters:
- name: name
comment: '# * Drop a database from the schema if the database exists.
# *
# * @param string $name
# * @return bool'
- name: getTables
visibility: public
parameters: []
comment: '# * Get the tables for the database.
# *
# * @return array'
- name: getViews
visibility: public
parameters: []
comment: '# * Get the views for the database.
# *
# * @return array'
- name: getColumns
visibility: public
parameters:
- name: table
comment: '# * Get the columns for a given table.
# *
# * @param string $table
# * @return array'
- name: getIndexes
visibility: public
parameters:
- name: table
comment: '# * Get the indexes for a given table.
# *
# * @param string $table
# * @return array'
- name: getForeignKeys
visibility: public
parameters:
- name: table
comment: '# * Get the foreign keys for a given table.
# *
# * @param string $table
# * @return array'
- name: dropAllTables
visibility: public
parameters: []
comment: '# * Drop all tables from the database.
# *
# * @return void'
- name: dropAllViews
visibility: public
parameters: []
comment: '# * Drop all views from the database.
# *
# * @return void'
traits: []
interfaces: []