Swift-Kuery icon indicating copy to clipboard operation
Swift-Kuery copied to clipboard

SQL database abstraction layer

Results 30 Swift-Kuery issues
Sort by recently updated
recently updated
newest added

The Auto Increment based on a closure has been removed since commit 115845f2c5a36f0bd5f2f31b01829aa0ebf89ecf. This PR is removing the refence in the documentation, and the tests that wasn't testing the right...

Implement the unsigned types if supported, and the tiny type if supported. Initialy from PR #188.

Add the COUNT function into the SELECT query. If no fields are provided, it uses `id`.

Adds a function that find and returns a column with a given name

If we query the db and get an empty set we should return an empty set instead of nil.

When using the `Parameter` type to avoid SQL injection, the `queryBuilder` is not working with sub-request, restarting the counter to 1 each time. If building the following query (from the...

As discovered in #141, it appears Kuery is not escaping apostrophes inside strings in generated queries. For example, the following code: ```swift s = Select(from: t) .where(t.a == "Grocer's apostrophe's")...

Faster comparison and sorting of fields using binary and varbinary types in MySQL comparing to char and varchar. In case of binary/varbinary, comparison and sorting is based on the numeric...

updated_at and created_at columns which track dates related to entities are sometimes needed. It would be nice to add these columns in a generic fashion, rather than adding a definition...