Skip to content
1.x
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Atlas.Query

Provides query builders for MySQL, Postgres, SQLite, and Microsoft SQL Server backends connected via Atlas.Pdo.

Read the documentation here.

Lineage

This package is a descendant of Aura.SqlQuery but differs from that package in significant ways. Some of those differences include:

  • The query objects depend on an Atlas.Pdo Connection (which can wrap a regular PDO instance).

  • There are no database-specific query classes as with the Aura package, though some database-specific behaviors are provided. This means the query object can be more reliably typehinted and provide IDE auto-completion, but at the cost of providing some methods that some databases may not recognize.

  • The Insert class provides only single-row inserts, not multiple-row.

  • Binding of values into Atlas queries allows for different PDO parameter types.

  • Some method names have changed slightly; for example, cols() is now columns(). Likewise, some method signatures have changed; for example, whereas in Aura.SqlQuery a method might take an array of expressions, the equivalent Atlas.Query method may use variadic arguments instead.

About

Query builders for Atlas.Pdo connections.

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.