Skip to content

Document use with Laravel #194

Description

@amotl

i am using laravel 11.42.1 (latest version) and i am able to connect to crate and get data like this:

$connection = app(CrateDB::class)->createConnection();
$stmt       = $connection->query('SELECT id FROM something LIMIT 3');
$rows       = $stmt->doFetchAll(PDO::FETCH_ASSOC);

and everything is working fine 🤷 😏

Originally posted by @michabbb in #160

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsA documentation issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions