-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add arg options for creating collections with options #1734
Merged
jenssegers
merged 1 commit into
mongodb:master
from
Smolevich:add-support-for-creation-collectuons-with-options
Mar 20, 2019
Merged
Add arg options for creating collections with options #1734
jenssegers
merged 1 commit into
mongodb:master
from
Smolevich:add-support-for-creation-collectuons-with-options
Mar 20, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
Smolevich
commented
Mar 18, 2019
- Add argument options for creating collections with options
@jenssegers, can you review please? |
What's the point of this when the blueprint create method does not accept any options? I would love to see an option in this framework to add json schemas to mongodb. Edit: |
anthonyvancauwenberghe
added a commit
to anthonyvancauwenberghe/laravel-mongodb
that referenced
this pull request
Apr 4, 2019
Adding a fix for mongodb#1734 . I might come up with a pull request for json schema's: https://docs.mongodb.com/manual/reference/operator/query/jsonSchema/#op._S_jsonSchema @jenssegers would you like to have this feature?
Flambe
pushed a commit
to intergral/laravel-mongodb
that referenced
this pull request
Oct 11, 2019
* 👷 Travis * Add arg PHP-VERSION in Dockerfile * Delete empty row * Add build arg in docker-compose.yml * Add changes to Dcokerfile * Separate installing vendors by composer use official image of composer * Delete use composer image * Add default value PHP_VERSION * 🐳 Provide default docker arg * Fix issue using query builder first method * EmbedsMany respect primaryKey on association * fix typos * laravel/lumen 5.7.14 compatibility Updated model to be compatible with laravel/lumen 5.7.14 * Overrided whereIn method retrieval for relations, to force use standart whereIn nor whereInRawInteger * fix bug The main solution is to solve the bugs encountered in using database alone * reassigned getDatabaseName method * Remove dead code * Update Model.php * Update supported versions * Require Laravel 5.8 * Fix tests (mongodb#1724) * Update Dockerfile, add for methods setUp and tearDown return type hint in all tests, replace fire on dispatch * Resolve error test with touch * Use COMPOSER_VERSION in Dockerfile * Add alias for composer * Change parent method's names Broken commit in laravel: laravel/framework@2ee1892 * Remove changes in .travis.yml * Remove changes from Dockerfile * Revert changes in docker-compose.yml * Update image with mysql * 🐳 New travis docker setup * Update phpunit.xml (mongodb#1733) * Add arg options for creating collections with options (mongodb#1734) * fix chunkById for types other than ObjectId and laravel >= 5.6.25 (mongodb#1543) * Adds support for _id of binary type (mongodb#1611) * Create FUNDING.yml * Update FUNDING.yml * Update FUNDING.yml * Add hasIndex and dropIndexIfExists methods * Revert changes in Builder and Model for id keys, fix test for Queue (mongodb#1795) * Revert changes in Builder and Model for id keys, fix test for Queue * Fix format in Model * Get base query before update so that scopes are applied (mongodb#1799) Fixes mongodb#1798 * Return proper value instead of _id on QueryBuilder (mongodb#1747) Fixes mongodb#1741 * fix for non string id * use env values from phpunit.xml, update database.php and queue.php (mongodb#1738) * use env values from phpunit.xml, update database.php and queue.php * Add .editorconfig * Update QueueTest.php * Update phpunit.xml.dist * Use in casting instead intval * Change operator (-> to ::) * Code cleanup * Add hasIndex and dropIndexIfExists methods * ⬆️ Support for laravel 6 * ♻️ Make tests compatible with latest phpunit version * 🚨 Linting * ✅ Replace str_random usage * Update src/Jenssegers/Mongodb/Relations/EmbedsMany.php Co-Authored-By: Jens Segers <segers.jens@gmail.com> * fix filtering with operator not like issue * replcae string operation with exact match of (not like) * add test to not like oepration fix * fix regex demo code
This was referenced Feb 9, 2020
mnphpexpert
added a commit
to mnphpexpert/laravel-mongodb
that referenced
this pull request
Sep 2, 2024
mnphpexpert
added a commit
to mnphpexpert/laravel-mongodb
that referenced
this pull request
Sep 2, 2024
Adding a fix for mongodb#1734 . I might come up with a pull request for json schema's: https://docs.mongodb.com/manual/reference/operator/query/jsonSchema/#op._S_jsonSchema @jenssegers would you like to have this feature?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.