Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
two-database
- Page 1
Re: Do email clients respect CSP?
Programming
Web Development
11 Hours Ago
by toneewa
….88 (Microsoft Azure) ... 52.96.119.130 (Microsoft Abuse IP
Database
)
Re: How to query database using variable and get all results not just one row
Programming
Web Development
3 Weeks Ago
by Chris_103
…(). Here's how you can modify your code: ```php // Query
database
to retrieve records associated with the user $sql = "SELECT…
Re: How to query database using variable and get all results not just one row
Programming
Web Development
4 Weeks Ago
by Biiim
logically, it would be because `WHERE variable_name = :variable_name` matches 1 row in your table maybe try a `var_dump(str_replace(':variable_name',"'some_value'",$sql));var_dump($records);`? run the sql on whichever way you use to access your DB directly I don't use PDO so i'm not too familiar on how it returns results, either …
Re: Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
2 Weeks Ago
by aishamushtaq
very helpful
Re: How to query database using variable and get all results not just one row
Programming
Web Development
4 Weeks Ago
by Mikekelvin
… Assuming $currentUser holds the identifier of the current user // Query
database
to retrieve records associated with the current user $sql = "…This identifier should uniquely identify the current user in your
database
. By binding this value to the :variable_name parameter in … records associated with the current user in your
database
.
How to query database using variable and get all results not just one row
Programming
Web Development
2 Months Ago
by nander
Hello I am trying to query a
database
to show records only for the current user using variable … data but only 1 row with results any guidance? // Query
database
to retrieve records associated with the user $sql = "SELECT…
Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
1 Month Ago
by usmanmalik57
…) response = agent_executor.invoke(query) return response ``` ## Generating Response from PostgreSQL
Database
Generating a response from the LangChain SQL agent is straightforward… top 5 products with the least sales from the Northwind
database
in a MySQL server. ``` mysql_uri = 'mysql+mysqlconnector://root:mani123@…
Retrieval Augmented Generation (RAG) with Google Gemma From HuggingFace
Programming
Computer Science
2 Months Ago
by usmanmalik57
…1. Store data containing external knowledge into a vector
database
. 2. Convert the input query into corresponding vector…, we pass an input query to our vector embeddings
database
, which returns the text with the highest similarly. ```…the information we passed to it from our vector
database
. ## Conclusion RAG is a powerful technique for …
Paris Olympics Chatbot- Get Ticket Information Using Chat-GPT and LangChain
Programming
Computer Science
1 Month Ago
by usmanmalik57
…most accurate. The following script creates a vector
database
storing the vector embeddings for all the pages in…along with the context information retrieved from the vector
database
. The context information contains the answer to our …to provide the context information by searching the vector
database
containing the knowledge base. Then, we pass the…
Paris Olympics Ticket Information Chatbot with Memory Using LangChain
Programming
Computer Science
1 Month Ago
by usmanmalik57
… the PDF document. We store the embeddings in a vector
database
. ``` embeddings = OpenAIEmbeddings(openai_api_key = openai_key) text_splitter = RecursiveCharacterTextSplitter() documents = text_splitter.…message history and return the matching documents from our vector
database
. The template will have a `MessagesPlaceholder` attribute to …
How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
1 Month Ago
by Hanginium65
…=keystone_session) # Create a new object with the contents of Netbox
database
backup with gzip.open('/var/backup/netbox_backups/netbox_2024-03-16…/gzip' ) # Confirm the presence of the object holding the Netbox
database
backup obj1 = 'object_netbox_2024-03-16.psql.gz' container = 'netbox-backups…
Re: Improve HAVING BY performance
Programming
Databases
1 Month Ago
by Reverend Jim
…optimized and written in a way that allows the
database
engine to execute it efficiently. Avoid unnecessary joins, …This can help in reducing the computational load on the
database
engine during the HAVING phase. > >…, thus improving efficiency. > >
Database
Statistics: Ensure that your
database
statistics are up-to-date. The query …
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
… put these STATIC URLs inside the text retrieved from the
database
as I cannot insert php strings. Example from…
database
example that htaccess makes unfriendly : <em><a …;/a></em> While is impossible insert in
database
: <em><a href="<?php echo…
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
…-di-sospensione-Trib-Cagliari</a> // out of
database
. In
database
mi dà error Result: http://localhost/mysite/readlex/provvedimento-di….php?slug=Provvedimento-di-sospensione-Trib-Cagliari // inside or out
database
Result: http://localhost/mysite/readlex.php?slug=Provvedimento-di-sospensione…
Re: Do you participate in any other communities?
Community Center
Geeks' Lounge
1 Month Ago
by Dani
… neither of them could figure out how to get the
database
off of vBulletin 3 and onto a more modern system… plug-ins being used that, according to Brett, left the
database
severely corrupted and unusable. He ended up selling off the… Brett to see if he had *any* versions of the
database
anywhere that he could give me, and see if I…
Re: Improve HAVING BY performance
Programming
Databases
1 Month Ago
by Dani
… certainly not as sophisticated as storing the majority of our
database
and updating in realtime. (We also use Memcached, but… and persistence.) > Another option is to switch your
Database
server to an M2 SSD if you haven't already… are insanely fast That's super duper crazy! Our
database
servers definitely use SSDs, but I had never heard …
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Dani
…. I'm confused what you mean by "example from
database
", because it seems your question is about htaccess and… PHP. I'm confused what is being retrieved from the
database
In your second example, what are the values of BASE_URL…
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
… the value of $mod_rewrite? I set On-Off $mod_rewrite in
database
from Dashboard Admin. Now is always ON. > Again, where… URLs (??) and I have to put the URLs in the
database
( But only STATIC )
Re: Improve HAVING BY performance
Programming
Databases
1 Month Ago
by Biiim
… attention to internet security. Another option is to switch your
Database
server to an M2 SSD if you haven't already…: 0.14ms vs 0.06ms. I haven't tried a
Database
on one yet but based on the above stats it…
Re: Improve HAVING BY performance
Programming
Databases
1 Month Ago
by toneewa
… MySQL in the past day. I setup a server, a
database
, and wrote a C++ program to connect to it. It…
Re: Improve HAVING BY performance
Programming
Databases
1 Month Ago
by Dani
… or equal to $4. I'm not sure what your
database
looks like, but if there are lots of rows with…
Re: Improve HAVING BY performance
Programming
Databases
1 Month Ago
by Dani
…. Even then, it totally depends on the data in the
database
itself. The same query can be fast for some datasets…
Re: Improve HAVING BY performance
Programming
Databases
1 Month Ago
by toneewa
… done. I added another test with MAX(Price). With a
database
over 305K rows, 3 columns, MySQL Workbench is unstable importing…
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
1 Month Ago
by Dani
Pardon my cluelessness here. A $300 video card can efficiently perform complex AI tasks against DaniWeb’s entire
database
in real time? Missed the link to the Python API.
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
1 Month Ago
by Salem
First, let's prepare two tar files using different compression schemes for demo purposes. $ cat foo_1.txt This is file 1 $ cat foo_2.txt This is file 2 This is file two This is file too # Three tar files, two compressed and one uncompressed for reference $ tar -j -c -f foo.tar.bz2 foo_1.txt foo_2.txt…
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
1 Month Ago
by Hanginium65
Good day, Salem. My apologies for taking so long to reply to your suggestion. I refactored my code to read the contents of the tar.bz2 file and then pass them as a file-like object to the 'put_object' and also to change the content type for the file transfer to "application/octet-stream". The first was sent through to object storage …
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
1 Month Ago
by Salem
I don't understand why you need to extract all the files from the compressed `tar.bz2` just to upload to a backup. Also, line 69 is now meaningless having just posted only a snippet of the code. Before the error, what was the last `logger.info` message?
Re: Things I hate about TV shows
Community Center
Geeks' Lounge
1 Month Ago
by Dani
Currently the thing I hate most about TV shows is how much time elapses between seasons. I feel like I've been waiting for season 2 of Severance on AppleTV for *forever*! (It's been over 2 years already since season 1 debuted.) Speaking of that, is there ever going to be a second season for Squid Game? I can't imagine that Netflix wouldn’t invest …
Re: Things I hate about TV shows
Community Center
Geeks' Lounge
1 Month Ago
by Reverend Jim
Fer sher. You pretty much have to watch the previous season again before you start the next one. I'm still waiting for season 2 of The Old Man (Jeff Bridges, John Lithgow). At my age sometimes I lose the thread if two weeks goes by between episodes. Sometimes I'll wait until the end of a season before I watch any of it. I especially hate it when a …
Re: Things I hate about TV shows
Community Center
Geeks' Lounge
1 Month Ago
by pritaeas
> is there ever going to be a second season for Squid Game Yes, already announced, available soon.
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC