Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3406254
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:36:20+00:00 2026-05-18T05:36:20+00:00

I really hate when I want to store/fetch something from the database, I have

  • 0

I really hate when I want to store/fetch something from the database, I have to issue a SQL command and wait for the response, and before that I need to create the table and think carefully about the data types. The code is replicates all over the source, every time I need to talk to SQL I am very tired.

I am thinking about is there any easy way of this? Like when I want to insert a line to a table:

Table1 table;
table.insert("bbb", "ccc", "ddd");
table.insert("colA":"bbb", "colB":"ccc");

Also I don’t need to create the table in SQL manually, just declare in the high level language:

Table1 {
   colA
   colB
}

To find the specific element:

table.find({"colA" = "bbb"});

Or, even better, if the data is stored in XML style, we don’t need to make every row the same columns, it’s free style.

You know what I mean.

Is there existing ones with good high level language support? Python?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T05:36:20+00:00Added an answer on May 18, 2026 at 5:36 am

    What you may be looking for is an ORM (Object-Relational Mapping) library, which abstracts you from the database so that you don’t have to write SQL in many cases. In regard to your question about Python–yes, dynamic languages like Python and Ruby are good for this sort of thing. But ORM libraries are available in just about any language. The second possibility is NoSQL.

    ORM

    I’ll give you a couple quick examples in Ruby on Rails, using its built-in ORM, ActiveRecord. Let’s say you have a ‘users’ table with ‘name’ and ‘age’ columns.

    Inserting into the table:

    user = User.new
    user.name = "Bin Chen"
    user.age = 30
    user.save
    

    Finding records:

    User.where(:name => "Bin Chen")
    User.where(:age => 20..40)
    

    ActiveRecord even creates dynamic methods based on your columns:

    User.find_by_age(30)
    User.find_or_create_by_name("Bob", :age => 20)
    

    Specifying a table is indeed simple and declarative. There are quite a few tutorials and screencasts available, if you’re interested.

    NoSQL

    If you don’t need a relational database, then NoSQL may fit the bill. These tend to be specialized for certain types of data, and usually optimized for performance. Examples are MongoDB, CouchDB for general purpose document databases, Redis for key/value store, eXist for XML storage. Many options are listed at http://nosql-database.org/. Most of these have language bindings for dynamic languages such as Python.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small to medium project that is in C++/CLI. I really hate
I really hate sometimes how IDictionary<TKey, TValue> [key] will throw an exception if the
I really want to write .NET apps that run on any platform (PC, Linux
Please bear with me. I really want to know as I am curious about
I've been using south but I really hate having to manually migrate data all
I really HATE to ask this because I thought this is supposed to be
I hate the OK/Cancel dialogs, because if my application ask somebody if (s)he really
I hate Firefox, I really do, but as a web developer I'm chained to
I want to experiment with some D3D programming, but I hate writing code to
I was thinking of making a new, light-weight database population framework. I absolutely hate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.