Blame view
public/vendor/illuminate/support/Facades/DB.php
1.84 KB
86143e36f Коммит вторник |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
<?php namespace Illuminate\Support\Facades; /** * @method static \Illuminate\Database\ConnectionInterface connection(string $name = null) * @method static \Illuminate\Database\Query\Builder table(string $table, string $as = null) * @method static \Illuminate\Database\Query\Expression raw($value) * @method static array getQueryLog() * @method static array prepareBindings(array $bindings) * @method static array pretend(\Closure $callback) * @method static array select(string $query, array $bindings = [], bool $useReadPdo = true) * @method static bool insert(string $query, array $bindings = []) * @method static bool logging() * @method static bool statement(string $query, array $bindings = []) * @method static bool unprepared(string $query) * @method static int affectingStatement(string $query, array $bindings = []) * @method static int delete(string $query, array $bindings = []) * @method static int transactionLevel() * @method static int update(string $query, array $bindings = []) * @method static mixed selectOne(string $query, array $bindings = [], bool $useReadPdo = true) * @method static mixed transaction(\Closure $callback, int $attempts = 1) * @method static string getDefaultConnection() * @method static void beginTransaction() * @method static void commit() * @method static void enableQueryLog() * @method static void disableQueryLog() * @method static void flushQueryLog() * @method static void listen(\Closure $callback) * @method static void rollBack(int $toLevel = null) * @method static void setDefaultConnection(string $name) * * @see \Illuminate\Database\DatabaseManager * @see \Illuminate\Database\Connection */ class DB extends Facade { /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { return 'db'; } } |