go – The MongoDB golang driver does not return the unrecognized "hint" field when using the board with CountDocument

I'm using the official mongo driver to go go.mongodb.org/mongo-driver and I run mongodb v4 in a container. All operations work fine, but when I try to add a hint to CountDocument, it fails with an error indicating unrecognized field index. I saw this error reported in the old gh and jira son problems, but the problem in these cases was that people were using older versions than version 3.6 but that I'm using v4, I can not so do not understand the problem.

opts: = & options.CountOptions {}
opts.SetHint ("formId_1_client_1_isActive_1__p_createdBy_1__created_at_1")
count, err: = r.collection.CountDocuments (ctx, query, opts)
if err! = nil {
returns 0, err
}
number of returns, none

How to load an array of json files and store it in a field in drupal8?

I receive my json

//

$ someJSON = & # 39;[{“PhotoFid”:”PhotoFid” : [“8444″,”8445”]}]& # 39 ;;

//

how to pass this file ID in my field

//

$ node-> set (& # 39; field_photofid & # 39 ;, someJSON); – field_photofid is a file type

//

FYI– it's a unique file identifier, the download is automatic, but I do not know how to pass this array to my field type

dnd 5th – Does the antimagic field suppress or prevent the petrification of a creature ability?

It only removes / prevents if the creature's ability is magic

Some of the abilities of these monsters are considered magical, others not. To define whether something is magic or not, the Sage Advice Compendium offers us a short questionnaire:

  • Is it a magic object?
  • Is it a spell? Or does it allow you to create the effects of a spell mentioned in its description?
  • Is it a spell attack?
  • Is it powered by the use of slot machines?
  • Does his description say it's magic?

If you answer yes to any of these questions, the ability is considered magic and is therefore removed by a antimagic field.

Now, between spectator and the medusaonly the spectator's eye rays are magical. Let's take a look at the viewer's eye ray description (that's me pointing out):

The viewer draws three of the following magical Random Eye Rays (repeat duplicates), choosing one to three targets visible within 120 feet: […]

In addition, the description of the antimagic cone's function indicates that it acts against the rays of the viewer's own eye (see below), thus removing the petrifying effect for a target creature. If the target makes saving rolls against petrification and enters an anti-aggression area, it stops saving as long as it stays in that area and continues to roll back the saving rolls after leaving the field.

The central eye of the viewer creates an antimagic zone, as in antimagic field fate, in a cone of 150 feet. At the beginning of each of its turns, the viewer decides in which direction the cone faces and if the cone is active. The region works against the own rays of the viewer's gaze.

The jellyfish (including the jellyfish under the city introduced in Ravnica) petrifying look, however, answer all the questions of the "is this magic?" questionnaire above with a no, so a creature petrified by it remains petrified under the effect of a antimagic field.

Antimagic field also suppress the petrification of both basil and basil abilities, respectively (that's me highlighting):

Basil:
basil can force the creature to make a DC 12 build save roll if basil is not unfit. In case of failure of the backup, the creature magically begins to turn into stone and is restrained.

Basil:
[…] and the target must succeed on a backup roll DC 11 Constitution against being magically petrified.

8 – Customize the title field display using the view block

I want to display the updated content field with a view block on the home page.

2019/06/20 newly posted content1-title
2019/06/19 content2

The words update and newly posted before the title wants to customize depending on whether the content has been posted or updated for the first time.
My code is as follows.
enter the description of the image here
However, even at the time of initial release of the content, durpal has created and modified different timestamps, which is not the expected result.
Are there good ways? Thank you.

migration – Migrating the csv date field to Drupal 8 using format_date

tried to import the date fields from a CSV file to Drupal 8 using the format_date function. followed these two answers
Import a CSV Date in the Date field
How to convert year to date with Migrate

but did not work for me. he continues to translate everything in 1969/12/31 19:33. Does anybody know why?

here is my YAML file where field_date is the name of the machine in the date field of my content type, and Date is the name of the field in CSV. and the date format in CSV format looks like 12/22/12 12:22

date of the field:
plugin: format_date
from_format: m / j / y H: i & # 39;
to_format: Y-m-d TH: i: s & # 39;
source: date

[WTS] Web Hosting Plans # 1 | DailyRazor.com

Do you need a reliable and ultra fast web hosting on Linux and Windows?

DailyRazor.com is a professional web hosting provider and other web services such as domain names, ecommerce, web design, search engine optimization and marketing, charts and consulting for small businesses and individuals around the world.

We have more than 15 years of combined experience in Java, .NET, PHP, Ruby, CGI, network administration, systems integration and related technologies to support the & # 39; Critical hosting for applications developed on these platforms. In addition, we offer web hosting packages to support common technologies such as Perl, Python, and Ruby, as well as databases for the ever-growing and popular Microsoft Access, Microsoft SQL Server, MySQL, and MySQL databases. PostgreSQL.

Our features:

  • Professional support 24/7
  • 30-day money back guarantee
  • 99.9% uptime guarantee
  • Fast and fast server infrastructure
  • 1-Click App Install (hundreds of choices)
  • Award-winning Web Hosting
  • More than 15 years of experience in Linux and Windows hosting

Our Web hosting plans are designed to help your website succeed! We offer an instant installation software called Softaculous that allows you to automatically install over 276 open-source scripts at the click of a mouse. You can install WordPress, Joomla, Opencart, PrestaShop, phpBB, Drupal, SMF, MyBB, Magento, Dolphin, Open Blog, TextPattern, LifeType, etc. with one click!

Note: Each hosting plan comes with: disk space, bandwidth, email accounts, FTP accounts as much as you need + FREE domain name.

Dailyrazor also offers Tomcat hosting, Joomla hosting, OpenCart hosting, vBulletin hosting Solutions!

Use the code: SUPERSHARED and get up to 60.40% discount on all accommodation plans!

Entrance
1 site / domain
10 databases
Domain FREE Domain
FREE Website Builder
FREE SSL security
CPanel Control Panel
$ 3.15 / month 60.40% discount (cost $ 7.95) – ORDER NOW
Click here for more plans and details: https://www.dailyrazor.com/web-hosting/

Our ASP.NET top hosting plans are designed to help your website succeed!
Use the code: SUPERSHARED and get up to 60.40% discount on all accommodation plans!

Entrance
1 site / domain
10 databases
Domain FREE Domain
FREE Website Builder
FREE SSL security
CPanel Control Panel
$ 3.94 / month Discount of 60.40% (was $ 9.95) – ORDER NOW
Click here for more plans and details: https://www.dailyrazor.com/asp-net-hosting/

Our Ultimate Reseller Hosting plans are designed to help your website succeed!
Use the code: SUPERRESELL and get up to 10% DISCOUNT on all reseller hosting plans!

Bronze
Host unlimited domains / websites
25 GB of disk space
250 GB transfer / bandwidth
WHM / cPanel Control Panel
$ 11.65 / month 10.00% discount (was $ 12.95) – ORDER NOW
Click here for more plans and details: https://www.dailyrazor.com/reseller-hosting/

Our ColdFusion Expert Hosting plans are designed to help your website succeed!
Use the code: CFPRIMO and get up to 50% DISCOUNT on all ColdFusion hosting plans!

CF-One
1 site / domain
1 MS SQL database
5 MySQL databases
Free domain name
Plesk Control Panel
$ 7.98 / month 50% discount ($ 15.95) – ORDER NOW
Click here for more plans and details: https://www.dailyrazor.com/coldfusion-hosting/

We also offer a 1-Click Application installer integrated into our Plesk control panel, which allows you to automatically install tons of open-source scripts at the click of a mouse. You can install WordPress, Joomla, Opencart, PrestaShop, phpBB, Drupal, SMF, MyBB, Magento, Dolphin, Open Blog, TextPattern, LifeType, etc. with one click!

Our guarantee:
Try one of our FREE hosting packages for 30 days! We will let our quality service speak for us and if you are not satisfied with our service, simply contact us to cancel before or the 30th day and we will be happy to refund your deposited funds without any question asked!

If you have any questions, do not hesitate to contact our support: Send the ticket

Like DailyRazor THE FACEBOOK PAGE
Follow DailyRazor via TWITTER ACCOUNT

.

php – Data is not displayed in the Laravel 5.8 form field

In the create.blade view, I have a field in which the data must be displayed to be selected and not displayed. This data has already been entered in another section of the corresponding database table.

The other fields display the data correctly but in Surplus, they do not appear. In addition, the Surplus field is connected to the stock because they come from the same table in the database, that is, when a surplus is selected, the inventory of the surplus must be automatically loaded. obviously I could not check it because of the problem described above.

Here I leave a picture:

enter the description of the image here
Here, I leave the create function of the controller:

public function create ()
{

$ surplus = DB :: table ('surplus' as ex)
-> join (& # 39; detailrea as drea & # 39; ex.idexcedente, & # 39; = & # 39 ;, & dquo; drea.idexcedente & # 39;)
-> join (& # 39; provider_secure as pre & # 39; address_ender & # 39; = & # 39 ;, & # 39; pre.ender & # 39;)
-> select (ex.idexcedente, "ex.number", ex.stock, & # 39; pre.number & quot;)
-> where (& # 39; ex.condicion), & # 39; = & # 39;, & # 39; 1 & # 39;)
-> where (ex.stock, & # 39;> & # 39;, & # 39; 0 & # 39;)
-> get ();

$ patientsm = DB :: table (& # 39; pmedicamentos & # 39;) -> get ();

$ lender = DB :: table (& # 39; lender_secure & # 39;) -> get ();

$ request_type = DB :: table (& # 39; request_type) -> get ();

return the view ("reaffectations.create", [
            "excedentes"=>$excedentes,
            "pacientesm"=>$pacientesm,
            "prestador"=>$prestador,
            "tiposolicitud"=>$tiposolicitud

        ])
}

And here is the field corresponding to surplus in the create.blade view: