api/laravel/Database/Schema/SQLiteBuilder.yaml

118 lines
2 KiB
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: SQLiteBuilder
class_comment: null
dependencies:
- name: QueryException
type: class
source: Illuminate\Database\QueryException
- name: File
type: class
source: Illuminate\Support\Facades\File
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:
- name: withSize
default: 'true'
comment: '# * Get the tables for the database.
# *
# * @param bool $withSize
# * @return array'
- name: getColumns
visibility: public
parameters:
- name: table
comment: '# * Get the columns 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'
- name: setBusyTimeout
visibility: public
parameters:
- name: milliseconds
comment: '# * Set the busy timeout.
# *
# * @param int $milliseconds
# * @return bool'
- name: setJournalMode
visibility: public
parameters:
- name: mode
comment: '# * Set the journal mode.
# *
# * @param string $mode
# * @return bool'
- name: setSynchronous
visibility: public
parameters:
- name: mode
comment: '# * Set the synchronous mode.
# *
# * @param int $mode
# * @return bool'
- name: refreshDatabaseFile
visibility: public
parameters: []
comment: '# * Empty the database file.
# *
# * @return void'
traits:
- Illuminate\Database\QueryException
- Illuminate\Support\Facades\File
interfaces: []